Iso4217CurrencyCodeAttribute Class
Definition
Namespace: DataStandardizer.Money
Describes an ISO 4217 currency code member with its metadata: the currency name, minor-unit digit count, and funds-code flag.
public sealed class Iso4217CurrencyCodeAttribute : CodeAttributeBase
Remarks
This attribute is applied to each member of Iso4217CurrencyCurrent and Iso4217CurrencyHistoric. You normally read the metadata through the Iso4217Extensions accessors rather than reading the attribute directly.
Constructors
| Constructor | Notes |
|---|---|
Iso4217CurrencyCodeAttribute(string currencyName) | |
Iso4217CurrencyCodeAttribute(string currencyName, byte minorUnits) |
Properties
| Property | Signature | Notes |
|---|---|---|
CurrencyName | string CurrencyName { get; } | The currency name. |
IsFundsCode | bool IsFundsCode { get; set; } | true when the code is a funds code. |
MinorUnits | byte? MinorUnits { get; } | Minor-unit digit count, or null. |
Applies to
Targets netstandard1.0, netstandard2.0, net8.0, and net10.0.