C# Class Framework.Mvc.Resources.FrameworkResourceProvider

Get resources from IResourceCache.
Inheritance: IResourceProvider
Afficher le fichier Open project: coreframework/Core-Framework

Private Properties

Свойство Type Description
GetResourceKey String

Méthodes publiques

Méthode Description
FrameworkResourceProvider ( String scope ) : System

Initializes a new instance of the FrameworkResourceProvider class.

GetObject ( String resourceKey, CultureInfo culture ) : Object

Returns a resource object for the key and culture.

Private Methods

Méthode Description
GetResourceKey ( String scope, String resourceKey, String cultureName ) : String

Method Details

FrameworkResourceProvider() public méthode

Initializes a new instance of the FrameworkResourceProvider class.
public FrameworkResourceProvider ( String scope ) : System
scope String The resources scope.
Résultat System

GetObject() public méthode

Returns a resource object for the key and culture.
public GetObject ( String resourceKey, CultureInfo culture ) : Object
resourceKey String The key identifying a particular resource.
culture System.Globalization.CultureInfo The culture identifying a localized value for the resource.
Résultat Object