1 instantiation of EventSnapshot
InMemory.FunctionalTests (1)
EventSourceTests.cs (1)
468
_events.Enqueue(new
EventSnapshot
(eventData));
24 references to EventSnapshot
InMemory.FunctionalTests (24)
EventSourceTests.cs (24)
82
var
connectionStart = events[eventIndex++];
90
var
firstRequestStart = events[eventIndex++];
99
var
firstRequestStop = events[eventIndex++];
108
var
secondRequestStart = events[eventIndex++];
117
var
secondRequestStop = events[eventIndex++];
126
var
connectionStop = events[eventIndex++];
207
var
connectionStart = events[eventIndex++];
215
var
tlsHandshakeStart = events[eventIndex++];
223
var
tlsHandshakeStop = events[eventIndex++];
234
var
requestStart = events[eventIndex++];
243
var
requestStop = events[eventIndex++];
253
var
connectionStop = events[eventIndex++];
311
var
connectionStart = events[eventIndex++];
319
var
tlsHandshakeStart = events[eventIndex++];
327
var
tlsHandshakeFailed = events[eventIndex++];
335
var
tlsHandshakeStop = events[eventIndex++];
343
var
connectionStop = events[eventIndex++];
392
var
connectionStart = events[eventIndex++];
400
var
connectionRejected = events[eventIndex++];
408
var
connectionStop = events[eventIndex++];
419
private string GetProperty(
EventSnapshot
data, string propName) => data.Payload.TryGetValue(propName, out var value) ? value : null;
423
private readonly ConcurrentQueue<
EventSnapshot
> _events = new ConcurrentQueue<
EventSnapshot
>();
440
public IEnumerable<
EventSnapshot
> EventData => _events;