Class ResourceManagerExtensions
Represents extension methods for ResourceManager class.
Inherited Members
Namespace: DotNext.Resources
Assembly: DotNext.dll
Syntax
public static class ResourceManagerExtensions
Methods
| Edit this page View SourceGet(ResourceManager, string)
Gets typed resource using name of the caller member.
Declaration
public static ResourceEntry Get(this ResourceManager manager, string name = "")
Parameters
Type | Name | Description |
---|---|---|
ResourceManager | manager | The resource manager. |
string | name | The name that is filled by compiler automatically. |
Returns
Type | Description |
---|---|
ResourceEntry | The resource entry. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|