Method ResourceUtil.Get
Overload
Gets resource of any type.
public static T Get<T>(string name)
Parameters
|
name (string)
Resource name, like |
Returns
| T |
Exceptions
|
FileNotFoundException
Cannot find assembly or resource. |
|
InvalidOperationException
The resource is of different type. This function does not convert. |
|
Exception
Other exceptions that may be thrown by used .NET functions. |
Type Parameters
| T |