Exemple #1
0
 void HandleResultReceived(object sender, ResultEventArgs e)
 {
     //when the workflow signals the service with the result, the service
     //sends the result back over the duplex channel
     Console.WriteLine("Calling back with Result");
     callback.Equals(e.Result);
 }
Exemple #2
0
 public void AddTo(double value)
 {
     result += value;
     callback.Equals(result);
 }
Exemple #3
0
 public void AddTo(double num)
 {
     result += num;
     callback.Equals(result);
 }