Table of Contents

Class CodeSourceUrl

Namespace
Virtufin.WorkManager.Contracts
Assembly
Virtufin.WorkManager.dll

Represents code sourced from a URL.

public sealed record CodeSourceUrl : CodeSource, IEquatable<CodeSource>, IEquatable<CodeSourceUrl>
Inheritance
CodeSourceUrl
Implements
Inherited Members

Constructors

CodeSourceUrl(Uri, string?)

Represents code sourced from a URL.

public CodeSourceUrl(Uri Url, string? ContentSha256 = null)

Parameters

Url Uri

The URL pointing to the code.

ContentSha256 string

Optional SHA-256 digest of the expected content, for integrity verification.

Properties

ContentSha256

Optional SHA-256 digest of the expected content, for integrity verification.

public string? ContentSha256 { get; init; }

Property Value

string

Url

The URL pointing to the code.

public Uri Url { get; init; }

Property Value

Uri