Method CreateViaDefaultConstructor
CreateViaDefaultConstructor<T>()
Creates the specified type via default parameterless constructor.
public static T CreateViaDefaultConstructor<T>()
Returns
- T
Type Parameters
T
Type of the object to create.
Exceptions
- MissingMemberException
Raised when type does not have a public, parameterless constructor.