Example #1
0
 public void BuildTo(Saga <TState, TKey> saga)
 {
     if (_steps.Count == 0)
     {
         throw new Exception("Saga is not configured");
     }
     foreach (var step in _steps)
     {
         step.BuildTo(saga);
     }
 }
Example #2
0
 public void BuildTo(Saga <TState, TKey> saga)
 {
     saga.WhenCompleted(_onComplete);
 }
Example #3
0
 public void BuildTo(Saga <TState, TKey> saga)
 {
     saga.StartWith(_topic, _getKey, _createState, _onReceive);
 }
Example #4
0
 public void BuildTo(Saga <TState, TKey> saga)
 {
     saga.ContinueWith(_topic, _getKey, _onReceive);
 }