ElementAdderMeta.GetConcreteElementTypes Method (Type, Func(Type, Boolean)[])

Rotorz ReorderableList

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)
Syntax
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: Type
An array of zero or more concrete element types.
Exceptions
ExceptionCondition
ArgumentNullException If contractType is null.
Remarks

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

See Also