Example #1
0
 protected override void ExecuteVirtual()
 {
     serialCommands.AddCallback(this);
     serialCommands.AddCommand(new ExampleCommand().Init(null, "Command encapsulated by another Command 1"));
     serialCommands.AddCommand(new ExampleCommand().Init(null, "Command encapsulated by another Command 2"));
     serialCommands.AddCommand(new ExampleCommand().Init(null, "Command encapsulated by another Command 3"));
     serialCommands.Execute();
 }