Synced
StaticTypeCatalogSource.ConstructGenericType
Section titled “StaticTypeCatalogSource.ConstructGenericType”
- Resolves a generic construction through the deployment’s linked or dynamic type mechanism.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Runtime
Declaration
Section titled “Declaration”public System.Type? Inno.Runtime.StaticTypeCatalogSource.ConstructGenericType(System.Type definition, System.Collections.Generic.IReadOnlyList<System.Type> arguments)Parameters
Section titled “Parameters”Parameter definition: A generic declaration owned by the candidate generation.
Parameter arguments: The complete ordered set of closed type arguments.
Returns
Section titled “Returns”The closed type, or null when its generic constraints reject these arguments.
Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: A static deployment did not link the requested construction.
Exception T:System.ArgumentException: The declaration is not generic, or the argument count or closedness is invalid.