Arbor 3: FSM & BT Graph Editor 3.3.0

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
ClassEnumFieldConstraint Class Reference

Attribute to restrict to enum types only for fields. More...

Inheritance diagram for ClassEnumFieldConstraint:

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

## Detailed Description

Attribute to restrict to enum types only for fields.

## Member Function Documentation

override string GetTypeName | ( | System.Reflection.FieldInfo | fieldInfo | ) |
| virtual

Returns the type name of the constraint.

Parameters

  fieldInfo | FieldInfo with this attribute specified

Returns
  Type name of constraint

Reimplemented from ClassTypeConstraintAttribute.

override bool IsConstraintSatisfied | ( | Type | type,
|  | System.Reflection.FieldInfo | fieldInfo
| ) |  |
| virtual

Whether the constraint is satisfied is judged.

Parameters

  type | Determining type
  fieldInfo | FieldInfo with this attribute specified

Returns
  Returns true if the constraint is satisfied.

Implements ClassTypeConstraintAttribute.