示例#1
0
        private void GetViolationData()
        {
            var callTask = client.GetViolationsComparisonYearlyAsync(FromYearValue, ToYearValue);
            var obs      = callTask.ToObservable();

            obs.Subscribe((x) => Add_ViolationsDetails(x));
        }