Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    Class CurrencyLocalizationEntry

    Describes the localized name and/or symbol of a currency for a locale, provided by an ICurrencyDataProvider.

    Inheritance
    object
    CurrencyLocalizationEntry
    Namespace: Singulink.Globalization
    Assembly: Singulink.Globalization.Currency.DataProviders.dll
    Syntax
    public sealed class CurrencyLocalizationEntry
    Remarks

    Localized values are resolved by walking up the locale chain, removing one hyphen-separated subtag from the culture name at a time until the invariant values from the CurrencyDataEntry are reached. For example, a lookup for the fr-CA culture checks entries for fr-CA, then fr, then uses the invariant values. Names and symbols are resolved independently, so an entry may provide only one of them and the other is resolved from the parent locale.

    Entries only need to be provided for locales whose values differ from the values that the locale chain would otherwise produce, which keeps data compact.

    Constructors

    Name Description
    CurrencyLocalizationEntry(string, string)

    Initializes a new instance of the CurrencyLocalizationEntry class.

    Properties

    Name Description
    CurrencyCode

    Gets the code of the currency that the entry applies to, i.e. "CAD".

    Locale

    Gets the BCP 47 locale name that the entry applies to, i.e. "fr" or "fr-CA".

    Name

    Gets or initializes the localized name of the currency for the locale, or null if the name is inherited from the parent locale.

    Symbol

    Gets or initializes the localized symbol of the currency for the locale, or null if the symbol is inherited from the parent locale.

    © Singulink. All rights reserved.