public List<Exchange> ProcessCommand(Command command) { List<Exchange> e = new List<Exchange>(); var item = (Exchange) command; e.Add(item); return e; }
public void AddCommand(Command c) { commands.Add(c); }