Class ActivatorUtil
Summary description for ActivatorUtil.
Inheritance
System.Object
ActivatorUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib
Assembly: ImageVault.Common.dll
Syntax
public static class ActivatorUtil
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 . |