Synced
TypeCacheSnapshot.ConstructGenericType
Section titled “TypeCacheSnapshot.ConstructGenericType”
- Resolves a generic construction belonging to this exact generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Extensibility.Types
Declaration
Section titled “Declaration”public System.Type? Inno.Extensibility.Types.TypeCacheSnapshot.ConstructGenericType(System.Type definition, System.Collections.Generic.IReadOnlyList<System.Type> arguments)Parameters
Section titled “Parameters”Parameter definition: A registered generic declaration.
Parameter arguments: Ordered closed type arguments.
Returns
Section titled “Returns”The resolved closed type, or null when generic constraints reject the arguments.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The declaration does not belong to this generation.
Exception T:System.NotSupportedException: This deployment has not linked the requested construction.