public void OnTestFixtureSetUp() { LogManager.LogFactory = new ConsoleLogFactory(); appHost = new TestConfigAppHostHttpListener(); appHost.Init(); appHost.Start(ListeningOn); }
/// <summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary> public void Dispose() { if (appHost == null) return; appHost.Dispose(); appHost = null; }