ElementAdderMetaGetConcreteElementTypes Method (Type, FuncType, Boolean) |
Gets a filtered array of the concrete element types that implement the
specified contractType.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic 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.
ExceptionsException | Condition |
---|
ArgumentNullException |
If contractType is null.
|
RemarksA type is excluded from the resulting array when one or more of the
specified filters returns a value of false.
See Also