BasicEventSourceTests.TestEventCounter.ValidateSingleEventCounter C# (CSharp) Method

ValidateSingleEventCounter() private static method

private static ValidateSingleEventCounter ( BasicEventSourceTests.Event evt, string counterName, int count, float sum, float sumSquared, float min, float max ) : void
evt BasicEventSourceTests.Event
counterName string
count int
sum float
sumSquared float
min float
max float
return void
        private static void ValidateSingleEventCounter(Event evt, string counterName, int count, float sum, float sumSquared, float min, float max)
        {
            object payload = ValidateEventHeaderAndGetPayload(evt);
            var payloadContent = payload as IDictionary<string, object>;
            Assert.NotNull(payloadContent);
            ValidateEventCounter(counterName, count, sum, sumSquared, min, max, payloadContent);
        }