Class ReflectionTypeUtil
Inheritance
ReflectionTypeUtil
Assembly: Innovt.Core.dll
Syntax
public static class ReflectionTypeUtil
Methods
|
Edit this page
View Source
CreateInstance(Type)
Declaration
public static Func<object> CreateInstance(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
|
Edit this page
View Source
CreateInstance(Type, params object[])
Declaration
public static Func<object> CreateInstance(Type type, params object[] args)
Parameters
Returns
|
Edit this page
View Source
CreateInstance<T>()
Perform a cache of the compiled expression to create instances of T
Declaration
public static Func<T> CreateInstance<T>() where T : class
Returns
Type Parameters
Exceptions