C# Класс WebApplications.Utilities.Globalization.CultureInfoProvider

Наследование: ICultureInfoProvider
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CultureInfoProvider System
GetDepth int

Открытые методы

Метод Описание
CultureInfoProvider ( System.DateTime published, [ cultures ) : System

Initializes a new instance of the CultureInfoProvider class.

FindByCurrency ( CurrencyInfo currencyInfo ) : IEnumerable

Finds the cultures that use a specific currency.

Get ( CultureInfo cultureInfo ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo equivalent to the CultureInfo.

Get ( int lcid ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.LCID.

Get ( string cultureName ) : ExtendedCultureInfo

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.Name.

GetChildren ( CultureInfo cultureInfo ) : IEnumerable

Gets the child cultures of the specified culture.

Приватные методы

Метод Описание
CultureInfoProvider ( ) : System

Initializes the CultureInfoProvider class.

GetDepth ( [ info ) : int

Gets the depth of the given culture info.

Описание методов

CultureInfoProvider() публичный Метод

Initializes a new instance of the CultureInfoProvider class.
public CultureInfoProvider ( System.DateTime published, [ cultures ) : System
published System.DateTime The published date time.
cultures [ The cultures.
Результат System

FindByCurrency() публичный Метод

Finds the cultures that use a specific currency.
public FindByCurrency ( CurrencyInfo currencyInfo ) : IEnumerable
currencyInfo CurrencyInfo The currency information.
Результат IEnumerable

Get() публичный Метод

Retrieves an ExtendedCultureInfo equivalent to the CultureInfo.
is .
public Get ( CultureInfo cultureInfo ) : ExtendedCultureInfo
cultureInfo System.Globalization.CultureInfo The culture info.
Результат ExtendedCultureInfo

Get() публичный Метод

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.LCID.
public Get ( int lcid ) : ExtendedCultureInfo
lcid int The lcid.
Результат ExtendedCultureInfo

Get() публичный Метод

Retrieves an ExtendedCultureInfo with the name specified CultureInfo.Name.
is .
public Get ( string cultureName ) : ExtendedCultureInfo
cultureName string The ISO Code.
Результат ExtendedCultureInfo

GetChildren() публичный Метод

Gets the child cultures of the specified culture.
public GetChildren ( CultureInfo cultureInfo ) : IEnumerable
cultureInfo System.Globalization.CultureInfo The culture to get the children of.
Результат IEnumerable