/// <summary>Initializes a new instance of the <see cref="T:System.Object" /> class.</summary>
        public TectureBuilder()
        {
            var tdh = new TestDataHolder();

            Aux = new AuxilaryContainer(tdh, _transactionManager);
            _mx = new ChannelMultiplexer(Aux);
        }
Example #2
0
        /// <summary>Initializes a new instance of the <see cref="T:System.Object" /> class.</summary>
        public TectureBuilder()
        {
            var tdh = new TestDataHolder();

            Aux = new AuxilaryContainer(tdh);
            _mx = new ChannelMultiplexer(Aux);
        }
Example #3
0
 public Tecture(
     ChannelMultiplexer mx,
     AuxilaryContainer aux,
     bool debugMode = false,
     ITransactionManager tranManager     = null,
     Action <Exception> exceptionHandler = null)
 {
     _mx               = mx;
     _aux              = aux;
     _pipeline         = new Pipeline(debugMode, _actions, _finallyActions);
     _tranManager      = tranManager;
     _exceptionHandler = exceptionHandler;
     _serviceManager   = new ServiceManager(_pipeline, _mx, _aux);
 }
 public ChannelMultiplexer(AuxilaryContainer aux)
 {
     _auxilary = aux;
 }
Example #5
0
 public ServiceManager(Pipeline pipeline, ChannelMultiplexer mux, AuxilaryContainer aux)
 {
     _pipeline = pipeline;
     _mux      = mux;
     _aux      = aux;
 }