![]() | InspectorTypeTable Class |
Namespace: Slash.ECS.Inspector.Data
The InspectorTypeTable type exposes the following members.
Name | Description | |
---|---|---|
![]() | InspectorTypeTable |
Constructs a new, empty lookup table for inspector components.
|
Name | Description | |
---|---|---|
![]() ![]() | FindInspectorTypes |
Finds all types accessible to the user in the inspector via reflection.
|
![]() | GetCondition |
Gets the condition for the specified attribute to have its inspector shown,
or null if the inspector should always be shown.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetInspectorType |
Gets the inspector type for the specified type.
|
![]() | HasType |
Whether the specified type is accessible to the user in the inspector.
|
![]() | TryGetInspectorType |
Tries to get the inspector type for the specified type.
|
![]() | Types |
Types accessible to the user in the inspector.
|
Name | Description | |
---|---|---|
![]() | ContainsAllInspectorType |
Checks whether the first sequence contains all elements of the second one.
(Defined by EnumerableExtensionMethods.) |
![]() | IsNullOrEmpty | Overloaded.
Determines whether the collection is null or contains no elements.
(Defined by EnumerableExtensionMethods.) |
![]() | IsNullOrEmptyInspectorType | Overloaded.
Determines whether the collection is null or contains no elements.
(Defined by EnumerableExtensionMethods.) |
![]() | RandomItemInspectorType |
Returns a random item from the specified sequence.
(Defined by EnumerableExtensionMethods.) |
![]() | RandomItemOrDefaultInspectorType | Overloaded.
Returns a random item from the specified sequence or the default value of the
specified type if the sequence is null or empty.
(Defined by EnumerableExtensionMethods.) |
![]() | RandomItemOrDefaultInspectorType(InspectorType) | Overloaded.
Returns a random item from the specified sequence or the specified default value if
the sequence is null or empty.
(Defined by EnumerableExtensionMethods.) |
![]() | RandomSelectInspectorType | Overloaded.
Selects a random item from the specified enumerable.
(Defined by EnumerableExtensionMethods.) |
![]() | RandomSelectInspectorType(Int32) | Overloaded.
Selects the specified number of random items from the specified enumerable.
If the number of items in the enumerable is smaller than the specified number of selections,
the enumerable itself is returned.
(Defined by EnumerableExtensionMethods.) |
![]() | RandomSelectInspectorType(Int32, ActionInspectorType) | Overloaded.
Executes the specified action for the specified number of random items from the specified enumerable.
(Defined by EnumerableExtensionMethods.) |
![]() | RandomWeightedItemInspectorType |
Returns a random weighted item from the specified sequence.
Uses the specified function to get the weight of an item.
Idea was taken from http://stackoverflow.com/questions/17912005/quick-way-of-selecting-a-random-item-from-a-list-with-varying-probabilities-ba
(Defined by EnumerableExtensionMethods.) |