public StartCommand(Monitor monitor, IncludeFileCommand includeCommand) : base(monitor, "start", "starts the emulation.", "s") { if (includeCommand == null) { throw new ArgumentException("includeCommand cannot be null.", "includeCommand"); } IncludeCommand = includeCommand; }
public StartCommand(Monitor monitor, Func <Machine> getCurrentMachine, IncludeFileCommand includeCommand) : base(monitor, "start", "starts the emulation.", "s") { if (includeCommand == null) { throw new ArgumentException("includeCommand cannot be null.", "includeCommand"); } GetCurrentMachine = getCurrentMachine; IncludeCommand = includeCommand; }
public StartCommand(Monitor monitor, Func<Machine> getCurrentMachine, IncludeFileCommand includeCommand) : base(monitor, "start", "starts the emulation.", "s") { if(includeCommand == null) { throw new ArgumentException("includeCommand cannot be null.", "includeCommand"); } GetCurrentMachine = getCurrentMachine; IncludeCommand = includeCommand; }