Class AssetIdentifier.CurrencyAssetIdentifier
Currency-backed asset identifier.
public sealed record AssetIdentifier.CurrencyAssetIdentifier : AssetIdentifier, IAssetIdentifier, IEquatable<IAssetIdentifier>, IEquatable<AssetIdentifier>, IEquatable<AssetIdentifier.CurrencyAssetIdentifier>
- Inheritance
-
AssetIdentifier.CurrencyAssetIdentifier
- Implements
- Inherited Members
Constructors
CurrencyAssetIdentifier(CurrencySymbol)
Construct a currency-backed asset identifier.
public CurrencyAssetIdentifier(Currency.CurrencySymbol currency)
Parameters
currencyCurrency.CurrencySymbol
Properties
Currency
The currency the identifier refers to.
public Currency.CurrencySymbol Currency { get; }
Property Value
Value
The string payload of the identifier.
public override string Value { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.