ICurrency Interface

Represents a national or theoretical currency unit.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
[JsonConverterAttribute(typeof(CurrencyConverter))]
public interface ICurrency

Properties

Abbreviation Returns the three-letter abbreviation of the currency.
Authority Returns the name of the country or other authority that issues the currency.
AuthorityAdjective Returns the adjective form of the country or other authority that issues the currency.
ConversionList Returns a list of the ICurrency implementations for which conversion is supported.
DefaultCulture Returns the default culture information for the currency.
DefaultCultureCode Returns the default culture code for the currency.
DefaultFormat Returns the default number format provider for the currency.
FractionalName Returns the name of a singular decimal fraction of the currency.
FractionalNamePlural Returns the name of a plural decimal fraction of the currency.
FractionalSymbol Returns the symbol for decimal fractions of the currency.
FractionsPerUnit Returns the number of fractional units per full unit of the currency.
MantissaSize Returns the number of digits right of the decimal point in expressions of the currency value that include the smallest fractional unit.
Name Returns the singular name of the currency.
NamePlural Returns the plural name of the currency.
Symbol Returns the symbol for the currency.
TypeName Gets the FullName to assist serialization

Methods

ConvertFrom Converts a Money value from its currency into a Money value denominated in this implementation of ICurrency.
FromUSDollar Returns a Money object denominated in U.S. dollars equal in value and converted from to the Money object presented.
SetConversion Adds a conversion factor to use when converting from the current currency to the current currency.
ToStringThere are two overloads. Overloaded. Returns the issuing authority name in adjective form, and the full singular name of the currency.
ToString(Boolean) Overloaded. Returns the issuing authority name in adjective form, and the full singular or plural name of the currency.
ToUSDollar Returns a Money object denominated in U.S. dollars, converted from and equal to the decimal value denominated in the current instance.

See Also