IElementAdderMenuCommand(TContext).CanExecute Method

Rotorz ReorderableList

IElementAdderMenuCommandTContextCanExecute Method
Determines whether the command can be executed.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
bool CanExecute(
	IElementAdder<TContext> elementAdder
)
function CanExecute(
	elementAdder : IElementAdder<TContext>
) : boolean

Parameters

elementAdder
Type: Rotorz.ReorderableListIElementAdderTContext
The associated element adder provides access to the TContext instance.

Return Value

Type: Boolean
A value of true if the command can execute; otherwise, false.
See Also