Ejemplo n.º 1
0
        public DatabasePersister(
            IConfigurationStore configurationStore,
            ICommandFactory commandFactory,
            IContextFactory contextFactory,
            ILogManager logManager,
            Shared.Interfaces.IMapper mapper)
        {
            _commandFactory = commandFactory;
            _contextFactory = contextFactory;
            _log = logManager.GetLogger(GetType());
            _mapper = mapper;

            _configNotifier = configurationStore.Register("/urchin/server/persister/repository", SetRepositoryName, "Urchin");
        }
Ejemplo n.º 2
0
        public DatabasePersister(
            IConfigurationStore configurationStore,
            ICommandFactory commandFactory,
            IContextFactory contextFactory,
            ILogManager logManager,
            Shared.Interfaces.IMapper mapper)
        {
            _commandFactory = commandFactory;
            _contextFactory = contextFactory;
            _log            = logManager.GetLogger(GetType());
            _mapper         = mapper;

            _configNotifier = configurationStore.Register("/urchin/server/persister/repository", SetRepositoryName, "Urchin");
        }