Metalama//API Documentation/Extensions API/Metalama.​Extensions.​Dependency­Injection.​Implementation/Parameter­Specification/Parameter­Specification
Open sandboxFocus

Constructor ParameterSpecification

ParameterSpecification(String, IType, ImmutableArray<AttributeConstruction>)

Initializes a new instance of the ParameterSpecification struct.

Declaration
public ParameterSpecification(string name, IType type, ImmutableArray<AttributeConstruction> attributes = null)
Parameters
Type Name Description
String name

Parameter name.

IType type

Parameter type.

ImmutableArray<AttributeConstruction> attributes

List of custom attributes of the parameter.