C# Class Smrf.NodeXL.ExcelTemplate.RunNoParamCommandEventArgs

Provides information for a command that needs to be run, where the command does not require any parameters.
See RunCommandEventArgs for information about how NodeXL sends commands from one UI object to another.

There are many commands that do not require any parameters. Instead of deriving a class from RunCommandEventArgs for each such command, this class consolidates all of them. They are distinguished by a value passed to the constructor.

Inheritance: RunCommandEventArgs
Show file Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_eNoParamCommand NoParamCommand

Public Methods

Method Description
AssertValid ( ) : void
RunNoParamCommandEventArgs ( NoParamCommand noParamCommand ) : System

Initializes a new instance of the class.

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

RunNoParamCommandEventArgs() public method

Initializes a new instance of the class.
public RunNoParamCommandEventArgs ( NoParamCommand noParamCommand ) : System
noParamCommand NoParamCommand /// The no-parameter command that needs to be run. ///
return System

Property Details

m_eNoParamCommand protected property

protected NoParamCommand m_eNoParamCommand
return NoParamCommand