C# Class Framework.Mvc.Resources.FrameworkResourceProvider

Get resources from IResourceCache.
Inheritance: IResourceProvider
显示文件 Open project: coreframework/Core-Framework

Private Properties

Property Type Description
GetResourceKey String

Public Methods

Method 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

Method Description
GetResourceKey ( String scope, String resourceKey, String cultureName ) : String

Method Details

FrameworkResourceProvider() public method

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

GetObject() public method

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.
return Object