/// <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; }
/// <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; }