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
UrlUriThe URL pointing to the code.
ContentSha256stringOptional 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
Url
The URL pointing to the code.
public Uri Url { get; init; }