Symphony Framework
GenericCommand Constructor(String,CommandExecutedEventHander)
Symphony.Conductor.Commands Namespace > GenericCommand Class > GenericCommand Constructor : GenericCommand Constructor(String,CommandExecutedEventHander)
A string value to assign to the GenericCommand instance.
A method instance that will be executd when the command is processed.
Create an instance of the GenericCommand class and assigns the passed method to the CommandExecuted event.
Syntax

Parameters

name
A string value to assign to the GenericCommand instance.
execution
A method instance that will be executd when the command is processed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GenericCommand Class
GenericCommand Members
Overload List