21 using System.Collections.Generic;
48 protected abstract IEnumerable<ICommand>
GetCommands();
65 List<CommandResultPacket> resultPackets =
null;
68 foreach (var command
in GetCommands().Where(c => c !=
null))
70 Log.
Trace($
"BaseCommandHandler.ProcessCommands(): {Messages.BaseCommandHandler.ExecutingCommand(command)}");
85 if(resultPackets ==
null)
87 resultPackets =
new List<CommandResultPacket>();
89 resultPackets.Add(result);