public ServiceManager(Pipeline pipeline, ChannelMultiplexer mux, TestingContextContainer aux, Func <Type, object> resolver)
 {
     _pipeline = pipeline;
     _mux      = mux;
     _aux      = aux;
     _resolver = resolver;
 }
Example #2
0
        /// <summary>Initializes a new instance of the <see cref="T:System.Object" /> class.</summary>
        public TectureBuilder()
        {
            var tdh = new TestDataProvider();

            Aux = new TestingContextContainer(tdh, _transactionManager);
            _mx = new ChannelMultiplexer(Aux);
        }
Example #3
0
 public Tecture(
     ChannelMultiplexer mx,
     TestingContextContainer aux,
     bool debugMode = false,
     TransactionManager tranManager          = null,
     Func <Exception, bool> exceptionHandler = null,
     Func <Type, object> iocResolver         = null)
 {
     _mx               = mx;
     _aux              = aux;
     _pipeline         = new Pipeline(debugMode, _actions, _finallyActions);
     _tranManager      = tranManager;
     _exceptionHandler = exceptionHandler;
     _serviceManager   = new ServiceManager(_pipeline, _mx, _aux, iocResolver);
 }
Example #4
0
 public ChannelMultiplexer(TestingContextContainer testingContext)
 {
     _testingContext = testingContext;
 }