Class ActivatorUtil
Summary description for ActivatorUtil.
Inheritance
System.Object
ActivatorUtil
Namespace: ImageVault.Common.Lib
Assembly: ImageVault.Common.dll
Syntax
public static class ActivatorUtil : Object
Methods
CreateInstance<T>(String)
Declaration
public static T CreateInstance<T>(string typeName)
where T : class
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Exceptions
Type | Condition |
---|---|
System.ApplicationException | If cannot find type named or if error instancing type . |