Exemplo n.º 1
0
        public async IAsyncEnumerable <ExploreMetric> YieldMetrics()
        {
            var result = await ResultAsync;

            foreach (var m in TimeUtilities.YieldMetrics <Result, int>("dates_cyclical", result))
            {
                yield return(m);
            }
        }
Exemplo n.º 2
0
        public async IAsyncEnumerable <ExploreMetric> YieldMetrics()
        {
            var result = await ResultAsync;

            if (result == null)
            {
                yield break;
            }

            foreach (var m in TimeUtilities.YieldMetrics <Result, DateTime>("dates_linear", result))
            {
                yield return(m);
            }
        }