コード例 #1
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);
        }
コード例 #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, _transactionManager);
            _mx = new ChannelMultiplexer(Aux);
        }
コード例 #3
0
 public ServiceManager(Pipeline pipeline, ChannelMultiplexer mux, TestingContextContainer aux, Func <Type, object> resolver)
 {
     _pipeline = pipeline;
     _mux      = mux;
     _aux      = aux;
     _resolver = resolver;
 }
コード例 #4
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);
        }
コード例 #5
0
 internal CommandsDispatcher(ChannelMultiplexer mx, TraceCollector traceCollector,
                             TransactionManager transactionManager)
 {
     _mx                 = mx;
     _traceCollector     = traceCollector;
     _transactionManager = transactionManager;
 }
コード例 #6
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);
 }
コード例 #7
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);
 }
コード例 #8
0
 public ChannelConfigurationImpl(ChannelMultiplexer multiplexer) : base(multiplexer, typeof(TChannel))
 {
 }
コード例 #9
0
 public SWrite(ChannelMultiplexer cm, Pipeline p)
 {
     _cm       = cm;
     _pipeline = p;
 }
コード例 #10
0
 public SRead(ChannelMultiplexer mx)
 {
     _mx = mx;
 }
コード例 #11
0
 public ServiceManager(Pipeline pipeline, ChannelMultiplexer mux, AuxilaryContainer aux)
 {
     _pipeline = pipeline;
     _mux      = mux;
     _aux      = aux;
 }
コード例 #12
0
 public SRead(ChannelMultiplexer cm)
 {
     _cm = cm;
 }
コード例 #13
0
 public ChannelBindingImpl(ChannelMultiplexer multiplexer, TransactionManager transactionManager) : base(multiplexer, typeof(TChannel), transactionManager)
 {
 }
コード例 #14
0
 internal CommandsDispatcher(ChannelMultiplexer mx, TraceCollector tc)
 {
     _mx = mx;
     _tc = tc;
 }