VelopackAssetFeed class
Namespace: Velopack
A feed of Velopack assets, usually returned from an IUpdateSource.
public record VelopackAssetFeed : IEquatable<VelopackAssetFeed>
Implements: IEquatable<VelopackAssetFeed>
Constructors
| Constructor | Summary |
|---|---|
VelopackAssetFeed | |
VelopackAssetFeed |
VelopackAssetFeed(original)
protected VelopackAssetFeed(VelopackAssetFeed original)
Parameters
| Name | Type | Description |
|---|---|---|
original | VelopackAssetFeed |
VelopackAssetFeed()
public VelopackAssetFeed()
Properties
| Property | Summary |
|---|---|
EqualityContract | |
Assets | A list of assets available in this feed. |
EqualityContract
protected virtual Type EqualityContract { get; }
Assets
public VelopackAsset[] Assets { get; set; }
A list of assets available in this feed.
Methods
| Method | Summary |
|---|---|
FromJson | Parse a json string into a VelopackAssetFeed. |
ToString | |
PrintMembers | |
GetHashCode | |
Equals | |
Equals |
FromJson(json)
public static VelopackAssetFeed FromJson(string json)
Parse a json string into a VelopackAssetFeed.
Parameters
| Name | Type | Description |
|---|---|---|
json | string |
Returns VelopackAssetFeed
ToString()
public override string ToString()
Returns string
PrintMembers(builder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
| Name | Type | Description |
|---|---|---|
builder | StringBuilder |
Returns bool
GetHashCode()
public override int GetHashCode()
Returns int
Equals(obj)
public override bool Equals(object? obj)
Parameters
| Name | Type | Description |
|---|---|---|
obj | object |
Returns bool
Equals(other)
public virtual bool Equals(VelopackAssetFeed? other)
Parameters
| Name | Type | Description |
|---|---|---|
other | VelopackAssetFeed |
Returns bool
Operators
| Operator | Summary |
|---|---|
operator != | |
operator == |
operator !=(left, right)
public static bool operator !=(VelopackAssetFeed? left, VelopackAssetFeed? right)
Parameters
| Name | Type | Description |
|---|---|---|
left | VelopackAssetFeed | |
right | VelopackAssetFeed |
Returns bool
operator ==(left, right)
public static bool operator ==(VelopackAssetFeed? left, VelopackAssetFeed? right)
Parameters
| Name | Type | Description |
|---|---|---|
left | VelopackAssetFeed | |
right | VelopackAssetFeed |
Returns bool
Generated from Velopack 1.1.1