Table of Contents

Class AssetIdentifier.CurrencyAssetIdentifier

Namespace
Virtufin.Base
Assembly
Virtufin.Base.dll

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

currency Currency.CurrencySymbol

Properties

Currency

The currency the identifier refers to.

public Currency.CurrencySymbol Currency { get; }

Property Value

Currency.CurrencySymbol

Value

The string payload of the identifier.

public override string Value { get; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.