Beispiel #1
0
        public RepositoriesConfiguration(DomainatorInfrastructureBuilder builder, Action <RepositoryDescriptor> registerRepository)
        {
            Require.NotNull(builder, nameof(builder));
            Require.NotNull(registerRepository, nameof(registerRepository));

            _builder            = builder;
            _registerRepository = registerRepository;
        }
        public StateManagementConfiguration(DomainatorInfrastructureBuilder builder, Action <StateStorageFactory> setFactory)
        {
            Require.NotNull(builder, nameof(builder));
            Require.NotNull(setFactory, nameof(setFactory));

            _builder    = builder;
            _setFactory = setFactory;
        }
Beispiel #3
0
        public SerializationConfiguration(DomainatorInfrastructureBuilder builder, Action <Type> registerConverterType)
        {
            Require.NotNull(builder, nameof(builder));
            Require.NotNull(registerConverterType, nameof(registerConverterType));

            _builder = builder;
            _registerConverterType = registerConverterType;
        }