Class ResourceProvider
Represents default resource provider.
public class ResourceProvider : IResourceProvider
- Inheritance
-
ResourceProvider
- Implements
- Inherited Members
Constructors
ResourceProvider()
Creates new instance of ResourceProvider.
public ResourceProvider()
Methods
GetResource(string)
Gets application resource.
public static object GetResource(string key)
Parameters
key
stringResource key.
Returns
- object
Application resource.
GetResource<T>(string)
public static T GetResource<T>(string key)
Parameters
key
string
Returns
- T
Type Parameters
T
GetString(string)
Gets string resource.
public static string GetString(string key)
Parameters
key
stringString resource key.
Returns
- string
String resource.