| InspectorStringAttribute Class |
Namespace: Slash.ECS.Inspector.Attributes
The InspectorStringAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| InspectorStringAttribute | Initializes a new instance of the InspectorStringAttribute class | |
| InspectorStringAttribute(String) |
Constructor.
|
| Name | Description | |
|---|---|---|
| Localized |
Whether this string should be localized to different languages and just represents a localization id.
| |
| MaxLength |
Maximum length of the string.
|
| Name | Description | |
|---|---|---|
| ConvertStringToValue |
Converts the passed text to a value of the correct type for this property.
(Overrides InspectorPropertyAttributeConvertStringToValue(String).) | |
| ConvertValueToString |
Converts the passed value to a string that can be converted back to a value of the correct type for this property.
(Overrides InspectorPropertyAttributeConvertValueToString(Object).) | |
| GetEmptyList |
Gets an empty list for elements of the type of the property the attribute is attached to.
(Overrides InspectorPropertyAttributeGetEmptyList.) | |
| ToString |
Returns a string that represents the current object.
(Overrides InspectorPropertyAttributeToString.) | |
| 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).) | |
| Validate |
Checks whether the passed value is valid for this property.
(Overrides InspectorPropertyAttributeValidate(Object).) |