UpdateMethods.ReleaseInfo
Slim DTO returned by ParseReleaseInfo(string, string): the bare SemVer ready for CompareSemVer(string, string), the release-asset id (or null when no asset of the requested name is attached), and the original tag for diagnostics.
public sealed record UpdateMethods.ReleaseInfo : IEquatable<UpdateMethods.ReleaseInfo>
1. Constructors
1.1. ReleaseInfo(string, long?, string)
Slim DTO returned by ParseReleaseInfo(string, string): the bare SemVer ready for CompareSemVer(string, string), the release-asset id (or null when no asset of the requested name is attached), and the original tag for diagnostics.
public ReleaseInfo(string Version, long? AssetId, string RawTag)
| Name | Type | Description |
|---|---|---|
Version |
string |
|
AssetId |
long? |
|
RawTag |
string |
2. Properties
2.1. AssetId
public long? AssetId { get; init; }
2.2. RawTag
public string RawTag { get; init; }
2.3. Version
public string Version { get; init; }
3. Operators
3.1. operator !=(UpdateMethods.ReleaseInfo, UpdateMethods.ReleaseInfo)
public static bool operator !=(UpdateMethods.ReleaseInfo left, UpdateMethods.ReleaseInfo right)
| Name | Type | Description |
|---|---|---|
left |
UpdateMethods.ReleaseInfo |
|
right |
UpdateMethods.ReleaseInfo |
Returns: bool
3.2. operator ==(UpdateMethods.ReleaseInfo, UpdateMethods.ReleaseInfo)
public static bool operator ==(UpdateMethods.ReleaseInfo left, UpdateMethods.ReleaseInfo right)
| Name | Type | Description |
|---|---|---|
left |
UpdateMethods.ReleaseInfo |
|
right |
UpdateMethods.ReleaseInfo |
Returns: bool