C# Класс DRMFSS.Shared.StringResourcesDALC

Data access component for the StringResources table. This type is thread safe.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Dispose ( ) : void
StringResourcesDALC ( string resourceType ) : System

Constructs this instance of the data access component supplying a resource type for the instance.

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

Метод Описание
GetResourceByCultureAndKey ( CultureInfo culture, string resourceKey ) : string
GetResourceByCultureAndKeyInternal ( CultureInfo culture, string resourceKey ) : string

Uses an open database connection to recurse looking for the resource. Retrieves a resource entry based on the specified culture and resource key. The resource type is based on this instance of the StringResourceDALC as passed to the constructor. Resource fallback follows the same mechanism of the .NET ResourceManager. Ultimately falling back to the default resource specified in this class.

GetResourcesByCulture ( CultureInfo culture ) : ListDictionary

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

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

public Dispose ( ) : void
Результат void

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

Constructs this instance of the data access component supplying a resource type for the instance.
public StringResourcesDALC ( string resourceType ) : System
resourceType string The resource type.
Результат System