C# Class DRMFSS.Shared.DBResourceProvider

Resource provider accessing resources from the database. This type is thread safe.
Inheritance: DisposableBaseType, IResourceProvider
Afficher le fichier Open project: edgecomputing/cats-hub-module

Méthodes publiques

Méthode Description
DBResourceProvider ( string classKey ) : System

Constructs this instance of the provider supplying a resource type for the instance.

GetObject ( string resourceKey, System culture ) : object

Retrieves a resource entry based on the specified culture and resource key. The resource type is based on this instance of the DBResourceProvider as passed to the constructor. To optimize performance, this function caches values in a dictionary per culture.

Méthodes protégées

Méthode Description
Cleanup ( ) : void

Method Details

Cleanup() protected méthode

protected Cleanup ( ) : void
Résultat void

DBResourceProvider() public méthode

Constructs this instance of the provider supplying a resource type for the instance.
public DBResourceProvider ( string classKey ) : System
classKey string
Résultat System

GetObject() public méthode

Retrieves a resource entry based on the specified culture and resource key. The resource type is based on this instance of the DBResourceProvider as passed to the constructor. To optimize performance, this function caches values in a dictionary per culture.
public GetObject ( string resourceKey, System culture ) : object
resourceKey string The resource key to find.
culture System The culture to search with.
Résultat object