Open sandboxFocus

Method MakeGenericInstance

MakeGenericInstance(IReadOnlyList<IType>)

Creates a constructed generic type from the current generic type definition with the specified type arguments.

Declaration
INamedType MakeGenericInstance(IReadOnlyList<IType> typeArguments)
Parameters
Type Name Description
IReadOnlyList<IType> typeArguments

The type arguments to bind to the type parameters.

Returns
Type Description
INamedType

A constructed generic type with the specified type arguments.

See Also