Beispiel #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);
     }
 }
Beispiel #2
0
 public void BuildTo(Saga <TState, TKey> saga)
 {
     saga.WhenCompleted(_onComplete);
 }
Beispiel #3
0
 public void BuildTo(Saga <TState, TKey> saga)
 {
     saga.StartWith(_topic, _getKey, _createState, _onReceive);
 }
Beispiel #4
0
 public void BuildTo(Saga <TState, TKey> saga)
 {
     saga.ContinueWith(_topic, _getKey, _onReceive);
 }