internal CommandsDispatcher(ChannelMultiplexer mx, TraceCollector traceCollector, TransactionManager transactionManager) { _mx = mx; _traceCollector = traceCollector; _transactionManager = transactionManager; }
public Contains(ITestDataSource source, TraceCollector traceCollector, Type channelType) { _source = source; if (traceCollector != null) { _promised = traceCollector.PromiseTestQuery <T>(channelType); } }
/// <summary> /// Begins trace collection /// </summary> public void BeginTrace(bool lightMode = false, bool profiling = true) { if (_tc == null) { _tc = new TraceCollector(lightMode, profiling); _pipeline.TraceCollector = _tc; _aux.TraceCollector = _tc; } }
/// <summary> /// Finishes trace collection /// </summary> /// <returns></returns> public Trace EndTrace() { if (_tc == null) { throw new TectureException(".EndTrace is called, but trace has not been collected"); } var tc = _tc; _tc = null; return(tc.Finish()); }
/// <summary> /// Begins trace collection /// </summary> public void BeginTrace() { _tc = new TraceCollector(); _pipeline.TraceCollector = _tc; _aux.TraceCollector = _tc; }
public LightDemands(TraceCollector traceCollector, Type channelType) { _promised = traceCollector.PromiseQuery <T>(channelType); }
internal CommandsDispatcher(ChannelMultiplexer mx, TraceCollector tc) { _mx = mx; _tc = tc; }