예제 #1
0
 public TestServerImpl(IGlobalServerSettings settings) : base(settings)
 {
     FileSystem = MockFileSystemAdapter.Create();
 }
예제 #2
0
 public ServerImpl(IGlobalServerSettings settings)
     : base(settings)
 {
 }
예제 #3
0
 public static ICommandRunner GetCommand(IGlobalServerSettings commandLineSettings) =>
 Commands.ContainsKey(commandLineSettings.Command)
         ? Commands[commandLineSettings.Command](commandLineSettings)
         : new ServerRunner(commandLineSettings);
예제 #4
0
 protected ServerBase(IGlobalServerSettings settings)
 {
     Host      = null;
     _settings = settings;
 }
예제 #5
0
 public ServerRunner(IGlobalServerSettings commandLineSettings)
 {
     _commandLineSettings = commandLineSettings;
 }