Class ConstructorParameterDefinition
How one constructor parameter of the destination type is supplied. Used for records, primary constructors and any destination built through a parameterised constructor.
public sealed class ConstructorParameterDefinition
- Inheritance
-
ConstructorParameterDefinition
- Inherited Members
Constructors
- ConstructorParameterDefinition(string, Type, int)
Creates a definition for a constructor parameter.
Properties
- DefaultValue
Gets the compiler-supplied default, used when no source resolves.
- HasDefaultValue
Gets a value indicating whether the parameter has a compiler-supplied default.
- IsExplicit
Gets a value indicating whether the user configured this parameter explicitly.
- Name
Gets the parameter name.
- ParameterType
Gets the parameter type.
- Position
Gets the zero-based position in the constructor signature.
Methods
- ToString()
Returns a string that represents the current object.