IsConstraintSatisfied
public bool IsConstraintSatisfied(Type type, FieldInfo fieldInfo) ;
Whether the constraint is satisfied is judged.
Parameter Name | Description |
---|---|
type | Determining type |
fieldInfo | FieldInfo with this attribute specified |
Returns true if the constraint is satisfied.