Exemplo n.º 1
0
 public InternalConfigurationCreator()
 {
     this._eventSubscribeOptionsCreator = new EventSubscribeOptionsCreator();
     this._eventProcessOptionsCreator   = new EventProcessOptionsCreator(_eventSubscribeOptionsCreator);
     this._eventPublishOptionsCreator   = new EventPublishOptionsCreator();
     this._eventSourceOptionsCreator    = new EventSourceOptionsCreator();
     this.builder = new InternalConfigurationBuilder();
 }
Exemplo n.º 2
0
        public InternalConfiguration Create()
        {
            builder = new InternalConfigurationBuilder();

            this.LoadConfiguration();

            var configuration = builder.Build();

            _validator.IsValid(configuration);

            return(configuration);
        }