Click or drag to resize

Command Class

Base class for a command which invokes a method in a data context.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Foundation.CommandsCommand
            More...

Namespace:  Slash.Unity.DataBind.Foundation.Commands
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class Command : MonoBehaviour, IContextOperator

The Command type exposes the following members.

Constructors
  NameDescription
Public methodCommand
Initializes a new instance of the Command class
Top
Methods
  NameDescription
Protected methodAwake
Unity callback.
Public methodInvokeCommand
Invokes the bound method.
Public methodInvokeCommand(Boolean)
Invokes the bound method.
Public methodInvokeCommand(Int32)
Invokes the bound method.
Public methodInvokeCommand(Object)
Invokes the bound method with the specified arguments.
Public methodInvokeCommand(Single)
Invokes the bound method.
Public methodInvokeCommand(String)
Invokes the bound method.
Public methodOnContextChanged
Has to be called when an anchestor context changed as the data value may change.
Protected methodOnDestroy
Unity callback.
Protected methodStart
Unity callback.
Top
Fields
  NameDescription
Public fieldAdditionalArguments
Additional arguments to pass when command is invoked.
Public fieldPath
Path of method to call in data context.
Top
See Also
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Foundation.CommandsCommand
            Slash.Unity.DataBind.UI.NGUI.CommandsNguiEventCommandTWidget
            Slash.Unity.DataBind.UI.Unity.CommandsBeginDragCommand
            Slash.Unity.DataBind.UI.Unity.CommandsDragCommand
            Slash.Unity.DataBind.UI.Unity.CommandsDropCommand
            Slash.Unity.DataBind.UI.Unity.CommandsEndDragCommand
            Slash.Unity.DataBind.UI.Unity.CommandsUnityEventCommandBaseTBehaviour