protected async override void OnClick()
        {
            var points = new SampleQueuedTask();
            var result = await points.CountFeaturesAsyc();

            ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(result.ToString(CultureInfo.InvariantCulture));
        }
 protected async override void OnClick()
 {
     var points = new SampleQueuedTask();
     var result = await points.CountFeaturesAsyc();
     ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show(result.ToString(CultureInfo.InvariantCulture));
 }