CommandAdapter Members

Defines a command adapter class, which provides the logic needed for an object to be able to invoke a Command.

The following tables list the members exposed by the CommandAdapter type.

Protected Constructors

  Name Description
Protected method CommandAdapter  

Top

Public Properties

  Name Description
Public property InvokerCount Gets the count of invokers in the CommandAdapter.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method AddInvoker Adds an invoker to the CommandAdapter.
Public method BindCommand Called when the CommandAdapter is registered with a Command.
Public method ContainsInvoker Checks if the CommandAdapter contains the invoker.
Public method Dispose Overloaded.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method RemoveInvoker Removes the invoker from the CommandAdapter.
Public method ToString  (Inherited from Object.)
Public method UnbindCommand Called when CommandAdapter is removed from a Command.

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded.  
Protected method Finalize  (Inherited from Object.)
Protected method FireCommand Causes the execution of the Command.
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnCommandChanged Handles the Changed event.

Top

Public Events

  Name Description
Public event ExecuteCommand Event to be fired by the CommandAdapter implementations to signal that the Command should execute.

Top

See Also

Reference

CommandAdapter Class
Microsoft.Practices.CompositeUI.Commands Namespace