MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​Declaration­BuildersIMethod­BuilderAdd­Type­Parameter
Open sandboxFocus

IMethodBuilder.AddTypeParameter Method

AddTypeParameter(String)

Adds a generic parameter to the method.

Declaration
ITypeParameterBuilder AddTypeParameter(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
ITypeParameterBuilder

An ITypeParameterBuilder that allows you to further build the new parameter.