Open sandboxFocus

Method AddTypeParameter

AddTypeParameter(string)

Adds a generic parameter to the method.

Declaration
ITypeParameterBuilder AddTypeParameter(string name)
Parameters
Type Name Description
string name

The name of the generic type parameter to add.

Returns
Type Description
ITypeParameterBuilder

An ITypeParameterBuilder that allows you to further configure the new type parameter, including constraints and variance.