Click or drag to resize
InspectorPropertyAttribute Class
Exposes the property to the inspector.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Slash.ECS.Inspector.AttributesInspectorPropertyAttribute
      More...

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

The InspectorPropertyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodInspectorPropertyAttribute
Exposes the property to the inspector.
Top
Properties
  NameDescription
Public propertyAttributeType
Type of value in attribute table. If null, the property type is used.
Public propertyDefault
Default property value.
Public propertyDefaultListItem
Default list item. Null for reference types, default value for value types.
Public propertyDescription
A user-friendly description of the property.
Public propertyIsList
Whether the property is of a list type, or not.
Public propertyItemType
Item type. Equals property type if no generic type, otherwise the type of the generic.
Public propertyList Obsolete.
Whether the property is of a list type, or not.
Public propertyName
Property name to be shown in the inspector.
Public propertyPossibleValues
Returns a collection of values if the property has a defined set of possible values. Otherwise null is returned.
Public propertyPropertyName
Name of property this attribute belongs to. Only set manually when collecting inspector type information.
Public propertyPropertyType
Type of property this attribute belongs to. Only set manually when collecting inspector type information.
Top
Methods
  NameDescription
Public methodConvertStringToValue
Converts the passed text to a value of the correct type for this property.
Public methodConvertValueOrListToString
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.
Public methodConvertValueToString
Converts the passed value to a string that can be converted back to a value of the correct type for this property.
Public methodDeinit
Performs required deinitialization steps for this property of the specified object.
Public methodGetEmptyList
Gets an empty list for elements of the type of the property the attribute is attached to.
Public methodGetPropertyValue
Returns the value of the property this inspeoctor property is for.
Public methodIsAllowed
Indicates if the specified value is allowed for the property.
Public methodSetPropertyValue
Initializes the specified object via reflection with the specified property value.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodTryConvertStringToListOrValue
Tries to convert the specified text to a value or list of the correct type for this property.
Public methodTryConvertStringToValue
Tries to convert the specified text to a value of the correct type for this property.
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.
Public methodValidate
Checks whether the passed value is valid for this property.
Top
Fields
  NameDescription
Public fieldStatic memberListDelimiter
Delimiter of list elements in strings.
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Slash.ECS.Inspector.AttributesInspectorPropertyAttribute
      Slash.ECS.Blueprints.Inspector.AttributesInspectorEntityAttribute
      Slash.ECS.Inspector.AttributesInspectorBlueprintAttribute
      Slash.ECS.Inspector.AttributesInspectorBoolAttribute
      Slash.ECS.Inspector.AttributesInspectorDataAttribute
      Slash.ECS.Inspector.AttributesInspectorEnumAttribute
      Slash.ECS.Inspector.AttributesInspectorFloatAttribute
      Slash.ECS.Inspector.AttributesInspectorIntAttribute
      Slash.ECS.Inspector.AttributesInspectorStringAttribute
      Slash.ECS.Inspector.AttributesInspectorVectorAttribute