Exemple #1
0
        public virtual void TestInitialize()
        {
            VisualRxSettings.ClearFilters();

            ScopeFactory = new TestScopeFactory();
            Task <VisualRxInitResult> info = VisualRxSettings.Initialize(
                VisualRxWcfDiscoveryProxy.Create(),
                //VisualRxWcfQueuedProxy.Create(),
                //VisualRxTraceSourceProxy.Create(),
                ScopeFactory);

            VisualRxInitResult infos = info.Result;

            Trace.WriteLine(infos);
        }
 void IDisposable.Dispose()
 {
     _sync.Wait();
     _proxy.Completion -= OnCompletionHandler;
     _proxy             = null;
 }
 public MonitorScope(TestScopeFactory proxy, int initialCount)
 {
     _sync             = new CountdownEvent(initialCount);
     _proxy            = proxy;
     proxy.Completion += OnCompletionHandler;
 }