Exemplo n.º 1
0
 /// <summary>
 /// Method called when the activity was completed
 /// </summary>
 /// <param name="result">Result of the execution</param>
 public void Completed(ActivityResult result)
 {
     Executing(delegate
     {
         var outputIndex = _indexResolver.Resolve(result.Numeric);
         PlaceToken(Outputs[outputIndex], StoredTokens.First());
     });
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public ActivityResult Fail()
 {
     return(Result = CreateFailureResult());
 }
Exemplo n.º 3
0
 /// <inheritdoc />
 public ActivityResult Complete(long resultNumber)
 {
     return(Result = CreateResult(resultNumber));
 }