IsConstraintSatisfied

IsConstraintSatisfied(Type, FieldInfo)

public bool IsConstraintSatisfied(Type type, FieldInfo fieldInfo) ;

Description

Whether the constraint is satisfied is judged.

Parameters

Parameter Name Description
type Determining type
fieldInfo FieldInfo with this attribute specified

Returns

Returns true if the constraint is satisfied.