public CommandChain(IEnumerable<ICommand> commands) { this.commands = commands.ToArray(); // Make a copy this.timeEstimate = new CommandChainTimeEstimate(this); }
public DataRouter() { this.timeEstimate = new DataRouterTimeEstimate(this); this.routes = new Dictionary<TypedDataType, ICommand>(); }