public Initializing(Aggregate.IRoot aggregateRoot) { _aggregateRoot = aggregateRoot; }
public Suspended(Aggregate.IRoot aggregateRoot, Event.IBus eventBus) { _aggregateRoot = aggregateRoot; _eventBus = eventBus; }
public Resuming(Aggregate.IRoot aggregateRoot, Data.IProvider dataProvider) { _aggregateRoot = aggregateRoot; _dataProvider = dataProvider; }
public ToSuspended(Aggregate.IRoot aggregateRoot) { AggregateRoot = aggregateRoot; }
public Running(Aggregate.IRoot aggregateRoot, Event.IBus eventBus) { _aggregateRoot = aggregateRoot; _eventBus = eventBus; }
public ToResuming(Aggregate.IRoot aggregateRoot) { AggregateRoot = aggregateRoot; }
public ToRunning(Aggregate.IRoot aggregateRoot) { AggregateRoot = aggregateRoot; }
public IState Suspending(Aggregate.IRoot aggregateRoot) { return(new Suspending(aggregateRoot)); }
public IState Suspended(Aggregate.IRoot aggregateRoot) { return(new Suspended(aggregateRoot, _eventBus)); }
public IState Running(Aggregate.IRoot aggregateRoot) { return(new Running(aggregateRoot, _eventBus)); }
public IState Resuming(Aggregate.IRoot aggregateRoot) { return(new Resuming(aggregateRoot, _dataProvider)); }
public IState Initializing(Aggregate.IRoot aggregateRoot) { return(new Initializing(aggregateRoot)); }
public ToInitializing(Aggregate.IRoot aggregateRoot) { AggregateRoot = aggregateRoot; }
public Suspending(Aggregate.IRoot aggregateRoot) { _aggregateRoot = aggregateRoot; }