Currency Class

Layer super-type for ICurrency implementations.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
[SerializableAttribute]
public class Currency : ICurrency
Inheritance
Object    Currency
Derived
Implements
ICurrency

Constructors

Currency Creates a new instance of Currency.

Properties

Abbreviation Gets the three-letter abbreviation of the currency.
Authority Gets the name of the country or other authority that issues the currency.
AuthorityAdjective Gets the adjective form of the country or other authority that issues the currency.
ConversionList Gets a list of the ICurrency implementations for which conversion is supported.
DefaultCulture Gets the default culture information for the currency.
DefaultCultureCode Returns the default culture code for the currency.
DefaultFormat Gets 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.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromUSDollar Returns a Money object denominated in U.S. dollars equal in value and converted from to the Money object presented.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
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 plural name of the currency.
(Overrides ObjectToString)
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