C# Class Smrf.NodeXL.ExcelTemplate.CommandDispatcher

Centralizes the sending and receiving of event-based commands.
This static class is used by senders to send event-based commands, and by receivers to receive such commands. See the class for details on the "chain of responsibility" pattern that NodeXL uses for sending commands from one UI object to another -- from the Ribbon to the TaskPane, for example.
Inheritance: Object
显示文件 Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
SendCommand ( Object sender, RunCommandEventArgs runCommandEventArgs ) : void
SendNoParamCommand ( Object sender, NoParamCommand noParamCommand ) : void

Method Details

SendCommand() public static method

public static SendCommand ( Object sender, RunCommandEventArgs runCommandEventArgs ) : void
sender Object
runCommandEventArgs RunCommandEventArgs
return void

SendNoParamCommand() public static method

public static SendNoParamCommand ( Object sender, NoParamCommand noParamCommand ) : void
sender Object
noParamCommand NoParamCommand
return void