Пример #1
0
        public IObservable <Values> PerformanceCounters(int interval = 1000)
        {
            var timeSpan = TimeSpan.FromMilliseconds(interval);

            return(_countersObservable.CombineLatest(BufferedDispatcherIdle(timeSpan), (x, y) => x)
                   .Select(x => x.NextValues()));
        }