프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ProviderLoaded | bool |
메소드 | 설명 | |
---|---|---|
ClearResourceCache ( ) : void |
Clears out the resource cache which forces all resources to be reloaded from the database. This is never actually called as far as I can tell
|
|
DbSimpleResourceProvider ( string virtualPath, string resourceSet ) : System |
|
|
GetImplicitResourceKeys ( string keyPrefix ) : ICollection |
Called when an ASP.NET Page is compiled asking for a collection of keys that match a given control name (keyPrefix). This routine for example returns control.Text,control.ToolTip from the Resource collection if they exist when a request for "control" is made as the key prefix.
|
|
GetObject ( System.Web.Compilation.ImplicitResourceKey implicitKey, |
Returns an Implicit key value from the ResourceSet. Note this method is called only if a ResourceKey was found in the ResourceSet at load time. If a resource cannot be located this method is never called to retrieve it. IOW, GetImplicitResourceKeys determines which keys are actually retrievable. This method simply parses the Implicit key and then retrieves the value using standard GetObject logic for the ResourceID.
|
메소드 | 설명 | |
---|---|---|
ConstructFullKey ( System.Web.Compilation.ImplicitResourceKey entry ) : string |
Routine that generates a full resource key string from an Implicit Resource Key value
|
|
GetObjectInternal ( string resourceKey, string cultureName ) : object |
Internal lookup method that handles retrieving a resource by its resource id and culture. Realistically this method is always called with the culture being null or empty but the routine handles resource fallback in case the code is manually called.
|
|
GetResourceCache ( string cultureName ) : IDictionary |
Manages caching of the Resource Sets. Once loaded the values are loaded from the cache only.
|
|
IResourceProvider ( string ResourceKey, |
The main worker method that retrieves a resource key for a given culture from a ResourceSet.
|
public DbSimpleResourceProvider ( string virtualPath, string resourceSet ) : System | ||
virtualPath | string | The virtual path to the Web application |
resourceSet | string | Name of the resource set to load |
리턴 | System |
public GetImplicitResourceKeys ( string keyPrefix ) : ICollection | ||
keyPrefix | string | |
리턴 | ICollection |
public GetObject ( System.Web.Compilation.ImplicitResourceKey implicitKey, |
||
implicitKey | System.Web.Compilation.ImplicitResourceKey | |
culture | ||
리턴 | object |