public WhenDisposingListener() { var guid = Guid.NewGuid(); var configuration = new FakeListenerConfiguration { Binding = String.Format(@"Local\HRVSTR_{0}", guid), Mutex = "Harvester: " + guid }; messageListener = new OutputDebugStringListener(messageProcessor.Object, configuration); messageListener.Start(); }
public WhenDisposingListener() { var guid = Guid.NewGuid(); var configuration = new FakeListenerConfiguration { Binding = @"\\.\pipe\" + guid, Mutex = "Harvester: " + guid }; configuration["identity"] = "Everyone"; messageListener = new PipeMessageListener(messageProcessor.Object, configuration); messageListener.Start(); }