Click or drag to resize
InspectorStringAttribute Class
Exposes the property to the inspector.
Inheritance Hierarchy

Namespace: Slash.ECS.Inspector.Attributes
Assembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntax
[SerializableAttribute]
public class InspectorStringAttribute : InspectorPropertyAttribute

The InspectorStringAttribute type exposes the following members.

Constructors
  NameDescription
Public methodInspectorStringAttribute
Initializes a new instance of the InspectorStringAttribute class
Public methodInspectorStringAttribute(String)
Constructor.
Top
Properties
  NameDescription
Public propertyLocalized
Whether this string should be localized to different languages and just represents a localization id.
Public propertyMaxLength
Maximum length of the string.
Top
Methods
  NameDescription
Public methodConvertStringToValue
Converts the passed text to a value of the correct type for this property.
(Overrides InspectorPropertyAttributeConvertStringToValue(String).)
Public methodConvertValueToString
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).)
Public methodGetEmptyList
Gets an empty list for elements of the type of the property the attribute is attached to.
(Overrides InspectorPropertyAttributeGetEmptyList.)
Public methodToString
Returns a string that represents the current object.
(Overrides InspectorPropertyAttributeToString.)
Public methodTryConvertStringToValue
Tries to convert the specified text to a value of the correct type for this property.
(Overrides InspectorPropertyAttributeTryConvertStringToValue(String, Object).)
Public methodTryConvertValueToString
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).)
Public methodValidate
Checks whether the passed value is valid for this property.
(Overrides InspectorPropertyAttributeValidate(Object).)
Top
See Also