Example #1
0
 public virtual void Start()
 {
     Logger.RestartLoggingThread();
     this.FileSystemWatchers = new List <FileSystemWatcher>();
     this.WireEventHandlers();
     _server.Start(HostPrefixes.ToArray());
 }
Example #2
0
 public override void Start()
 {
     HostPrefix[] copy = new HostPrefix[HostPrefixes.Count];
     HostPrefixes.CopyTo(copy);
     ServiceSubdomains.Each(sub =>
     {
         copy.Each(hp =>
         {
             HostPrefixes.Add(hp.FromServiceSubdomain(sub));
         });
     });
     base.Start();
 }