MakeGenericInstance(INamedType, params Type[])
Declaration
public static INamedType MakeGenericInstance(this INamedType type, params Type[] typeArguments)Parameters
| Type | Name | Description |
|---|---|---|
| INamedType | type | |
| Type[] | typeArguments |
Returns
| Type | Description |
|---|---|
| INamedType |
MakeGenericInstance(INamedType, params IType[])
Declaration
public static INamedType MakeGenericInstance(this INamedType type, params IType[] typeArguments)Parameters
| Type | Name | Description |
|---|---|---|
| INamedType | type | |
| IType[] | typeArguments |
Returns
| Type | Description |
|---|---|
| INamedType |
MakeGenericInstance(INamedType, IReadOnlyList<Type>)
Declaration
public static INamedType MakeGenericInstance(this INamedType type, IReadOnlyList<Type> typeArguments)Parameters
| Type | Name | Description |
|---|---|---|
| INamedType | type | |
| IReadOnlyList<Type> | typeArguments |
Returns
| Type | Description |
|---|---|
| INamedType |
MakeGenericInstance(IMethod, IReadOnlyList<Type>)
Declaration
[Obsolete("Use MakeGenericInstance instead.")]
public static IMethod MakeGenericInstance(this IMethod method, IReadOnlyList<Type> typeArguments)Parameters
| Type | Name | Description |
|---|---|---|
| IMethod | method | |
| IReadOnlyList<Type> | typeArguments |
Returns
| Type | Description |
|---|---|
| IMethod |
MakeGenericInstance(IMethod, params Type[])
Declaration
public static IMethod MakeGenericInstance(this IMethod method, params Type[] typeArguments)Parameters
| Type | Name | Description |
|---|---|---|
| IMethod | method | |
| Type[] | typeArguments |
Returns
| Type | Description |
|---|---|
| IMethod |
MakeGenericInstance(IMethod, params IType[])
Declaration
public static IMethod MakeGenericInstance(this IMethod method, params IType[] typeArguments)Parameters
| Type | Name | Description |
|---|---|---|
| IMethod | method | |
| IType[] | typeArguments |
Returns
| Type | Description |
|---|---|
| IMethod |