System.Collections.Concurrent.ConcurrentBag.Add(EventEntry)

Here are the examples of the csharp api class System.Collections.Concurrent.ConcurrentBag.Add(EventEntry) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: slab-sinks
Source File: MockEventListener.cs
protected override void OnEventWritten(EventWrittenEventArgs eventData)
        {
            WrittenEntries.Add(EventEntry.Create(eventData, EventSourceSchemaCache.Instance.GetSchema(eventData.EventId, eventData.EventSource)));
        }