Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

StaticTypeCatalogSource.ConstructGenericType

Section titled “StaticTypeCatalogSource.ConstructGenericType”
  • Resolves a generic construction through the deployment’s linked or dynamic type mechanism.

API: engine
Project: Inno.Runtime

public System.Type? Inno.Runtime.StaticTypeCatalogSource.ConstructGenericType(System.Type definition, System.Collections.Generic.IReadOnlyList<System.Type> arguments)

Parameter definition: A generic declaration owned by the candidate generation.

Parameter arguments: The complete ordered set of closed type arguments.

The closed type, or null when its generic constraints reject these arguments.

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.