Esempio n. 1
0
        private void ReportCompleted(Stopwatch sw)
        {
            var e = new TaskCompletedEventArgs(this)
            {
                Result = OnGettingResult(), Argument = Argument, Elapsed = sw.Elapsed
            };

            OnCompleted(e);
            if (Completed != null)
            {
                Completed(this, e);
            }
        }
Esempio n. 2
0
 protected virtual void OnCompleted(TaskCompletedEventArgs e)
 {
 }
Esempio n. 3
0
 protected virtual void OnCompleted(TaskDelegateMetadata meta, TaskCompletedEventArgs completed)
 {
     throw new NotImplementedException();
 }