Reorderable List Control for Unity
ElementAdderMetaGetConcreteElementTypes Method (Type, FuncType, Boolean) |
Gets a filtered array of the concrete element types that implement the
specified contractType.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)

public static Type[] GetConcreteElementTypes( Type contractType, Func<Type, bool>[] filters )
public static function GetConcreteElementTypes( contractType : Type, filters : Func<Type, boolean>[] ) : Type[]
Parameters
- contractType
- Type: SystemType
Contract type of addable elements. - filters
- Type: SystemFuncType, Boolean
An array of zero or more filters.
Return Value
Type: TypeAn array of zero or more concrete element types.

Exception | Condition |
---|---|
ArgumentNullException | If contractType is null. |

A type is excluded from the resulting array when one or more of the specified filters returns a value of false.
