private void OnMethodInvocationComplete(MethodInvocationResult e, CancellationToken token)
 {
     //If cancellation has been requested we don't need to continue.
     if (!token.IsCancellationRequested)
     {
         MethodInvocationComplete?.Invoke(this, new MethodInvocationCompleteArgs(e));
     }
 }
Esempio n. 2
0
        private void OnMethodInvocationComplete(MethodInvocationResult e)
        {
            var handler = MethodInvocationComplete;

            if (handler != null)
            {
                handler(this, new MethodInvocationCompleteArgs(e));
            }
        }
 public MethodInvocationCompleteArgs(MethodInvocationResult result)
 {
     Result = result;
 }
Esempio n. 4
0
 private void OnMethodInvocationComplete(MethodInvocationResult e)
 {
     MethodInvocationComplete?.Invoke(this, new MethodInvocationCompleteArgs(e));
 }
 public MethodInvocationCompleteArgs(MethodInvocationResult result)
 {
     Result = result;
 }
Esempio n. 6
0
 private void OnMethodInvocationComplete(MethodInvocationResult e)
 {
     var handler = MethodInvocationComplete;
     if (handler != null)
     {
         handler(this, new MethodInvocationCompleteArgs(e));
     }
 }