Synced
TypeCacheSnapshot.CreateInstance
Section titled “TypeCacheSnapshot.CreateInstance”
- Constructs a declared type through this generation’s selected metadata source.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”public object Inno.Extensibility.Types.TypeCacheSnapshot.CreateInstance(System.Type type)Parameters
Section titled “Parameters”Parameter type: A declaration in this snapshot, or a closed construction of its registered generic declaration.
Returns
Section titled “Returns”The new instance owned by the caller.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The reference does not resolve or its deployment does not provide a factory.