Amazon.KinesisTap.EtwEvent.Test/MockEtwEventSource.cs
/// <summary>
/// Create and populate a mock event wrapped by a mock envelope
/// </summary>
/// <param name="traceData">A mock ETW event to pull the data from</param>
/// <returns>The mock envelope</returns>
Create and populate a mock event wrapped by a mock envelope
Create and populate a mock event wrapped by a mock envelope
protected override EtwEventEnvelope WrapTraceEvent(TraceEvent traceData)
        {
            var envelope = new MockEtwEventEnvelope(traceData);
            envelope.Data.ExecutingThreadID = MockThreadID;
            return envelope;
        }
protected override EtwEventEnvelope WrapTraceEvent ( TraceEvent traceData ) { var envelope = new MockEtwEventEnvelope ( traceData ) ; envelope . Data . ExecutingThreadID = MockThreadID ; return envelope ; }
Create and populate a mock event wrapped by a mock envelope
Create and populate a mock event wrapped by a mock envelope
The mock envelope
The mock envelope
traceData
TraceEvent
A mock ETW event to pull the data from
A mock ETW event to pull the data from