public MockStopwatch(string tag, TimeSpan elapsed, TimeLineProvider timelineProvider, ConcurrentQueue<IAsyncTimedEvent> timeline) { Tag = tag; _timelineProvider = timelineProvider; _timeline = timeline; Elapsed = elapsed; }
public MockStopwatch(string tag, TimeSpan elapsed, TimeLineProvider timelineProvider, ConcurrentQueue <IAsyncTimedEvent> timeline) { Tag = tag; _timelineProvider = timelineProvider; _timeline = timeline; Elapsed = elapsed; }
internal AwaitableBuilder(TimeLineProvider timelineProvider, ConcurrentQueue <IAsyncTimedEvent> timeline, Func <T> result) { _timelineProvider = timelineProvider; _timeline = timeline; _task = async() => { await Task.Yield(); return(result()); }; }
public AsyncTimedEvent(string tag, TimeLineProvider timeline) { Tag = tag; _timeline = timeline; }