private async void GetStatistics() { while (true) { Statistics = await _statisticsProvider.GetStatistics(); await Task.Delay(StatisticsUpdateTimeout); } }
private async void GetStatistics() { while (true) { Statistics = await _statisticsProvider.GetStatistics(); await Task.Delay(StatisticsUpdateTimeout); } }