| InspectorPropertyAttribute Class |
Namespace: Slash.ECS.Inspector.Attributes
The InspectorPropertyAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| InspectorPropertyAttribute |
Exposes the property to the inspector.
|
| Name | Description | |
|---|---|---|
| AttributeType |
Type of value in attribute table. If null, the property type is used.
| |
| Default |
Default property value.
| |
| DefaultListItem |
Default list item.
Null for reference types, default value for value types.
| |
| Description |
A user-friendly description of the property.
| |
| IsList |
Whether the property is of a list type, or not.
| |
| ItemType |
Item type. Equals property type if no generic type, otherwise the type of the generic.
| |
| List | Obsolete.
Whether the property is of a list type, or not.
| |
| Name |
Property name to be shown in the inspector.
| |
| PossibleValues |
Returns a collection of values if the property has a defined set of possible values.
Otherwise null is returned.
| |
| PropertyName |
Name of property this attribute belongs to.
Only set manually when collecting inspector type information.
| |
| PropertyType |
Type of property this attribute belongs to.
Only set manually when collecting inspector type information.
|
| Name | Description | |
|---|---|---|
| ConvertStringToValue |
Converts the passed text to a value of the correct type for this property.
| |
| ConvertValueOrListToString |
Converts the passed value or list to a string that can be converted back to a value or list of the correct type for
this property.
| |
| ConvertValueToString |
Converts the passed value to a string that can be converted back to a value of the correct type for this property.
| |
| Deinit |
Performs required deinitialization steps for this property of the specified object.
| |
| GetEmptyList |
Gets an empty list for elements of the type of the property the attribute is attached to.
| |
| GetPropertyValue |
Returns the value of the property this inspeoctor property is for.
| |
| IsAllowed |
Indicates if the specified value is allowed for the property.
| |
| SetPropertyValue |
Initializes the specified object via reflection with the specified property value.
| |
| ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) | |
| TryConvertStringToListOrValue |
Tries to convert the specified text to a value or list of the correct type for this property.
| |
| TryConvertStringToValue |
Tries to convert the specified text to a value of the correct type for this property.
| |
| 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.
| |
| Validate |
Checks whether the passed value is valid for this property.
|
| Name | Description | |
|---|---|---|
| ListDelimiter |
Delimiter of list elements in strings.
|