Attribute that specifies that it can be constrained to a derived class of ParameterReference
More...
|
bool | isList = false |
| Flag that constrains to IList<> only. More...
|
|
Attribute that specifies that it can be constrained to a derived class of ParameterReference
◆ ConstraintableAttribute() [1/2]
Specify that it can be constrained
◆ ConstraintableAttribute() [2/2]
Specify that it can be constrained
- Parameters
-
baseType | Base type of constraint |
◆ IsConstraintSatisfied() [1/2]
override bool IsConstraintSatisfied |
( |
Parameter |
parameter | ) |
|
|
virtual |
Determine whether the constraint is satisfied
- Parameters
-
parameter | Determining parameter |
- Returns
- Returns true if the constraint is satisfied.
Implements ParameterConstraintAttributeBase.
◆ IsConstraintSatisfied() [2/2]
bool IsConstraintSatisfied |
( |
System.Type |
valueType | ) |
|
Determine whether the constraint is satisfied
- Parameters
-
valueType | Determining type |
- Returns
- Returns true if the constraint is satisfied.
Implements IConstraintableAttribute.
◆ isList
Flag that constrains to IList<> only.
◆ baseType