Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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;
 }