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));
     }
 }
Exemplo 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;
 }
Exemplo n.º 4
0
 private void OnMethodInvocationComplete(MethodInvocationResult e)
 {
     MethodInvocationComplete?.Invoke(this, new MethodInvocationCompleteArgs(e));
 }
 public MethodInvocationCompleteArgs(MethodInvocationResult result)
 {
     Result = result;
 }
Exemplo n.º 6
0
 private void OnMethodInvocationComplete(MethodInvocationResult e)
 {
     var handler = MethodInvocationComplete;
     if (handler != null)
     {
         handler(this, new MethodInvocationCompleteArgs(e));
     }
 }