![]() | InspectorEnumAttribute Class |
Namespace: Slash.ECS.Inspector.Attributes
The InspectorEnumAttribute type exposes the following members.
Name | Description | |
---|---|---|
![]() | InspectorEnumAttribute(String) |
Exposes the property to the inspector.
|
![]() | InspectorEnumAttribute(String, Type) | Obsolete.
Exposes the property to the inspector.
|
Name | Description | |
---|---|---|
![]() | AllowedValues |
Allowed enum values. If not set, all values are allowed.
|
![]() | Flags |
Indicates if the enum has a Flags attribute.
|
![]() | ForbiddenValues |
Forbidden enum values. If not set, no values are forbidden.
|
![]() | PossibleValues |
Returns a collection of values if the property has a defined set of possible values.
Otherwise null is returned.
(Overrides InspectorPropertyAttributePossibleValues.) |
Name | Description | |
---|---|---|
![]() | IsAllowed |
Indicates if the specified value is allowed for the property.
(Overrides InspectorPropertyAttributeIsAllowed(Object).) |
![]() | TryConvertStringToValue |
Tries to convert the specified text to a value of the correct type for this property.
(Overrides InspectorPropertyAttributeTryConvertStringToValue(String, Object).) |
![]() | TryConvertValueToString |
Tries to convert the specified value to a string that can be converted back to a value of the correct type for this property.
(Overrides InspectorPropertyAttributeTryConvertValueToString(Object, String).) |