public ExecuteCommand ( int commandId ) : void | ||
commandId | int | |
return | void |
public void ExecuteCommand(int commandId)
{
var command = addedCommands.Find(_ => _.CommandID.ID == commandId);
if (command != null)
{
command.Invoke();
}
}