A basic Attribute class that imposes a type constraint on a field.
More...
|
virtual Type | GetBaseType (System.Reflection.FieldInfo fieldInfo) |
| It returns the base type of constraints. More...
|
|
virtual string | GetTypeName (System.Reflection.FieldInfo fieldInfo) |
| Returns the type name of the constraint. More...
|
|
abstract bool | IsConstraintSatisfied (Type type, System.Reflection.FieldInfo fieldInfo) |
| Whether the constraint is satisfied is judged. More...
|
|
A basic Attribute class that imposes a type constraint on a field.
Available classes :
virtual Type GetBaseType |
( |
System.Reflection.FieldInfo |
fieldInfo | ) |
|
|
virtual |
virtual 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 in ClassEnumFieldConstraint.
abstract bool IsConstraintSatisfied |
( |
Type |
type, |
|
|
System.Reflection.FieldInfo |
fieldInfo |
|
) |
| |
|
pure virtual |