Arbor 3: FSM & BT Graph Editor  3.7.8
ClassNotStaticConstraint Class Reference

Attributes that restrict fields other than static classes. More...

Inheritance diagram for ClassNotStaticConstraint:
ClassTypeConstraintAttribute

Public Member Functions

override bool IsConstraintSatisfied (Type type, FieldInfo fieldInfo)
 Whether the constraint is satisfied is judged. More...
 
- Public Member Functions inherited from ClassTypeConstraintAttribute
virtual Type GetBaseType (FieldInfo fieldInfo)
 It returns the base type of constraints. More...
 
virtual string GetTypeName (FieldInfo fieldInfo)
 Returns the type name of the constraint. More...
 

Detailed Description

Attributes that restrict fields other than static classes.

Member Function Documentation

◆ IsConstraintSatisfied()

override bool IsConstraintSatisfied ( Type  type,
FieldInfo  fieldInfo 
)
virtual

Whether the constraint is satisfied is judged.

Parameters
typeDetermining type
fieldInfoFieldInfo with this attribute specified
Returns
Returns true if the constraint is satisfied.

Implements ClassTypeConstraintAttribute.