GitHubAsset Class

Represents an asset of a release on GitHub.

Definition

Namespace: DevCase.ThirdParty.GitHub
Assembly: DevCase.net48.ThirdParty.GitHub (in DevCase.net48.ThirdParty.GitHub.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class GitHubAsset
Inheritance
Object    GitHubAsset

Constructors

GitHubAsset Initializes a new instance of the GitHubAsset class.

Properties

ContentType Gets the content-type of this asset.
DateCreated Gets the creation datetime.
DateUploaded Gets the uploaded datetime.
DownloadCount Gets a value indicating how many times this asset was downloaded.
Id Gets the GitHub's unique identifier for this asset.
Label Gets the label of this asset.
Name Gets the name of this asset.
Raw Gets the raw Xml content of this GitHubAsset.
Size Gets the size of this asset, in bytes.
State Gets the state of this asset.
Uploader Gets the uploader of this asset.
UriAsset Gets an Uri that points to the page of this asset.
UriDownload Gets an Uri that points to the download page of this asset.

Methods

Equals
(Overrides ObjectEquals(Object))
GetHashCode
(Overrides ObjectGetHashCode)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a String that represents this asset.
(Overrides ObjectToString)

Operators

Equality(GitHubAsset, GitHubAsset) Implements the operator =.
Inequality(GitHubAsset, GitHubAsset) Implements the operator <>.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also