Пример #1
0
 public Server(ILog log, Settings settings, IEndpointFactory endpointFactory, IThreadManager threadManager)
 {
     this.log = log;
     this.settings = settings;
     this.endpointFactory = endpointFactory;
     this.threadManager = threadManager;
 }
Пример #2
0
 protected override void given()
 {
     this.settings = settings_loader.load("shared_secret_too_short.config").GetSection("pushbaby") as Settings;
 }
Пример #3
0
 protected override void given()
 {
     this.settings = settings_loader.load("uri_with_no_trailing_slash.config").GetSection("pushbaby") as Settings;
 }
Пример #4
0
 protected override void when()
 {
     this.settings = settings_loader.load("basic_valid.config").GetSection("pushbaby") as Settings;
 }