コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public Repository(ITransitionStorage transitionStorage,
                   IEventBus eventBus,
                   IDataTypeRegistry dataTypeRegistry, ISnapshotRepository snapshotRepository = null)
 {
     _transitionStorage  = transitionStorage;
     _eventBus           = eventBus;
     _dataTypeRegistry   = dataTypeRegistry;
     _snapshotRepository = snapshotRepository;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public Repository(ITransitionStorage transitionStorage, IEventBus eventBus, IDataTypeRegistry _dataTypeRegistry)
 {
     _transitionStorage     = transitionStorage;
     _eventBus              = eventBus;
     this._dataTypeRegistry = _dataTypeRegistry;
 }