Interface for classes that fetch current release information. More...
Public Member Functions | |
| bool | Fetch () |
| Updates the release information. More... | |
Properties | |
| ReleaseInfoStatus | Status [get] |
| SemanticVersion | ReleaseVersion [get] |
| Gets or sets the version of the release. More... | |
| string | Summary [get] |
| Gets or sets the release summary. More... | |
| Uri | DownloadUri [get] |
| Gets or sets the URI for the release download. More... | |
| string | ExpectedHash [get] |
| Gets or sets the expected checksum hash for the binary file. More... | |
| string | RawReleaseInfo [get] |
| Gets or sets the raw, unparsed release information. More... | |
| Exception | Exception [get] |
Interface for classes that fetch current release information.
It is expected that fetching the information (from whatever source) is performed synchronously.
Definition at line 30 of file IReleaseInfo.cs.
| bool Bovender.Versioning.IReleaseInfo.Fetch | ( | ) |
Updates the release information.
Implemented in Bovender.Versioning.ReleaseInfo, and Bovender.UnitTests.Versioning.ReleaseInfoForTesting.
|
get |
Gets or sets the URI for the release download.
Definition at line 47 of file IReleaseInfo.cs.
|
get |
Gets or sets the expected checksum hash for the binary file.
Depending on the length of this string, the hash may be a SHA-1 or SHA-256 or other checksum.
Definition at line 54 of file IReleaseInfo.cs.
|
get |
Gets or sets the raw, unparsed release information.
Definition at line 59 of file IReleaseInfo.cs.
|
get |
Gets or sets the version of the release.
Definition at line 37 of file IReleaseInfo.cs.
|
get |
Gets or sets the release summary.
Definition at line 42 of file IReleaseInfo.cs.