public ArgumentList(SessionConfigurator configurator)
 {
     this.Argv    = configurator.Argv.ToArray().AsReadOnly();
     this._groups = new List <ReadOnlyCollection <string> >();
     this.Groups  = new ReadOnlyCollection <ReadOnlyCollection <string> >(this._groups);
 }
 public Session(IServiceProvider serviceProvider, IArgumentList argv, SessionConfigurator configurator)
 {
     this._serviceProvider = serviceProvider;
     this.Argv             = argv;
     this.ExecuteMode      = configurator.Mode;
 }