Example #1
0
 public Initializing(Aggregate.IRoot aggregateRoot)
 {
     _aggregateRoot = aggregateRoot;
 }
Example #2
0
 public Suspended(Aggregate.IRoot aggregateRoot, Event.IBus eventBus)
 {
     _aggregateRoot = aggregateRoot;
     _eventBus      = eventBus;
 }
Example #3
0
 public Resuming(Aggregate.IRoot aggregateRoot, Data.IProvider dataProvider)
 {
     _aggregateRoot = aggregateRoot;
     _dataProvider  = dataProvider;
 }
Example #4
0
 public ToSuspended(Aggregate.IRoot aggregateRoot)
 {
     AggregateRoot = aggregateRoot;
 }
Example #5
0
 public Running(Aggregate.IRoot aggregateRoot, Event.IBus eventBus)
 {
     _aggregateRoot = aggregateRoot;
     _eventBus      = eventBus;
 }
Example #6
0
 public ToResuming(Aggregate.IRoot aggregateRoot)
 {
     AggregateRoot = aggregateRoot;
 }
Example #7
0
 public ToRunning(Aggregate.IRoot aggregateRoot)
 {
     AggregateRoot = aggregateRoot;
 }
Example #8
0
 public IState Suspending(Aggregate.IRoot aggregateRoot)
 {
     return(new Suspending(aggregateRoot));
 }
Example #9
0
 public IState Suspended(Aggregate.IRoot aggregateRoot)
 {
     return(new Suspended(aggregateRoot, _eventBus));
 }
Example #10
0
 public IState Running(Aggregate.IRoot aggregateRoot)
 {
     return(new Running(aggregateRoot, _eventBus));
 }
Example #11
0
 public IState Resuming(Aggregate.IRoot aggregateRoot)
 {
     return(new Resuming(aggregateRoot, _dataProvider));
 }
Example #12
0
 public IState Initializing(Aggregate.IRoot aggregateRoot)
 {
     return(new Initializing(aggregateRoot));
 }
Example #13
0
 public ToInitializing(Aggregate.IRoot aggregateRoot)
 {
     AggregateRoot = aggregateRoot;
 }
Example #14
0
 public Suspending(Aggregate.IRoot aggregateRoot)
 {
     _aggregateRoot = aggregateRoot;
 }