C# Класс FullInspector.InspectorShowIfAttribute

Наследование: System.Attribute
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ConditionalMemberNames string[]
Operator fiLogicalOperator

Открытые методы

Метод Описание
InspectorShowIfAttribute ( fiLogicalOperator op ) : System

This allows a member to be conditionally shown in the inspector depending upon the state of other variables in object. This does *not* change serialization behavior, only display behavior.

InspectorShowIfAttribute ( string conditionalMemberName ) : System

This allows a member to be conditionally hidden in the inspector depending upon the state of other variables in object. This does *not* change serialization behavior, only display behavior.

Описание методов

InspectorShowIfAttribute() публичный Метод

This allows a member to be conditionally shown in the inspector depending upon the state of other variables in object. This does *not* change serialization behavior, only display behavior.
public InspectorShowIfAttribute ( fiLogicalOperator op ) : System
op fiLogicalOperator Determines how multiple boolean values are combined to determine if /// the property is hidden.
Результат System

InspectorShowIfAttribute() публичный Метод

This allows a member to be conditionally hidden in the inspector depending upon the state of other variables in object. This does *not* change serialization behavior, only display behavior.
public InspectorShowIfAttribute ( string conditionalMemberName ) : System
conditionalMemberName string The name of the member to use as a condition. /// The conditional needs to either be a boolean field, a boolean property with a /// getter, or a no-argument method that returns a boolean. ///
Результат System

Описание свойств

ConditionalMemberNames публичное свойство

The names of the members to use as a condition. You can control how these members are combined using the LogicalOperator Operator parameter. The conditional members need to either be a boolean field, a boolean property with a getter, or a no-argument method that returns a boolean.
public string[] ConditionalMemberNames
Результат string[]

Operator публичное свойство

Determines how multiple boolean values are combined to determine if the property is shown.
public fiLogicalOperator Operator
Результат fiLogicalOperator