public void Collect(long elapsedTicks) { if (!WasDisposed) { Measurements[CurrentCount] = new MetricMeasurement(elapsedTicks, _collector.Collect()); CurrentCount = CurrentCount + 1 < MaxMeasures ? CurrentCount + 1 : CurrentCount; //WRAP } }