コード例 #1
0
 public StatefullAggregateRepository(AggregateStore store, IDataFactory dataFactory, ISerializer serializer, AggregateRegistry aggregateRegistry, ITransitionStore transitionStore, AggregateDefinition definition)
     : base(store, dataFactory, definition)
 {
     _serializer = serializer;
     _aggregateRegistry = aggregateRegistry;
     _transitionStore = transitionStore;
 }
コード例 #2
0
 /// <summary>
 /// Constructs AggregateRepositoryBase
 /// </summary>
 protected AggregateRepositoryBase(AggregateStore store, IDataFactory dataFactory, AggregateDefinition definition)
 {
     _store = store;
     _dataFactory = dataFactory;
     _definition = definition;
 }
コード例 #3
0
 public StatelessAggregateRepository(AggregateStore store, IDataFactory dataFactory, AggregateDefinition aggregateDefinition) : base(store, dataFactory, aggregateDefinition)
 {
 }