public ISagaRegistrationConfigurator <TSaga> Repository(Action <ISagaRepositoryRegistrationConfigurator <TSaga> > configure)
        {
            var configurator = new SagaRepositoryRegistrationConfigurator <TSaga>(_registrar);

            configure?.Invoke(configurator);

            return(this);
        }
Пример #2
0
        public IFutureRegistrationConfigurator <TFuture> Repository(Action <ISagaRepositoryRegistrationConfigurator <FutureState> > configure)
        {
            var configurator = new SagaRepositoryRegistrationConfigurator <FutureState>(_registrar);

            configure?.Invoke(configurator);

            return(this);
        }