public virtual void Start() { Logger.RestartLoggingThread(); this.FileSystemWatchers = new List <FileSystemWatcher>(); this.WireEventHandlers(); _server.Start(HostPrefixes.ToArray()); }
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(); }