コード例 #1
0
 protected JoinContextFactory(IPipeContextSource <TLeft> leftSource, IPipe <TLeft> leftPipe, IPipeContextSource <TRight> rightSource,
                              IPipe <TRight> rightPipe)
 {
     _rightSource = rightSource;
     _leftSource  = leftSource;
     _rightPipe   = rightPipe;
     _leftPipe    = leftPipe;
 }
コード例 #2
0
        public QueueSendTransport(IPipeContextSource <ClientContext> clientSource, IFilter <ClientContext> preSendFilter, string entityName)
        {
            _clientSource = clientSource;
            _filter       = preSendFilter;
            _entityName   = entityName;

            _observers = new SendObservable();
        }
コード例 #3
0
        void IBindConfigurator <TContext> .Source <T>(IPipeContextSource <T, TContext> source, Action <IBindConfigurator <TContext, T> > configureTarget)
        {
            var specification = new BindPipeSpecification <TContext, T>(source);

            configureTarget?.Invoke(specification);

            _configurator.AddPipeSpecification(specification);
        }
コード例 #4
0
        public AmazonSqsSendTransport(IAgent <ModelContext> modelAgent, IFilter <ModelContext> preSendFilter, string entityName)
        {
            _modelAgent = modelAgent;
            _filter     = preSendFilter;
            _entityName = entityName;

            _observers = new SendObservable();
        }
コード例 #5
0
        public ActiveMqSendTransport(IAgent <SessionContext> sessionAgent, IFilter <SessionContext> preSendFilter, string entityName,
                                     DestinationType destinationType)
        {
            _sessionAgent    = sessionAgent;
            _filter          = preSendFilter;
            _entityName      = entityName;
            _destinationType = destinationType;

            _observers = new SendObservable();
        }
コード例 #6
0
        public RabbitMqSendTransport(IAgent <ModelContext> modelSource, IFilter <ModelContext> preSendFilter, string exchange)
        {
            _modelSource = modelSource;
            _filter      = preSendFilter;
            _exchange    = exchange;

            _observers = new SendObservable();

            Add(modelSource);
        }
コード例 #7
0
 public ServiceBusSendTransport(IPipeContextSource <SendEndpointContext> source, Uri address)
 {
     _source    = source;
     _address   = address;
     _observers = new SendObservable();
 }
コード例 #8
0
 public BrokeredMessageErrorTransport(IPipeContextSource <SendEndpointContext> source)
     : base(source)
 {
 }
コード例 #9
0
 public EventHubSendTransport(IPipeContextSource <EventDataSendEndpointContext> source, Uri address)
 {
     _source    = source;
     _address   = address;
     _observers = new SendObservable();
 }
コード例 #10
0
 protected BrokeredMessageMoveTransport(IPipeContextSource <SendEndpointContext> source)
 {
     _source = source;
 }
コード例 #11
0
 public PipeContextSourceBindFilter(IPipe <BindContext <TLeft, TRight> > output, IPipeContextSource <TRight, TLeft> source)
 {
     _output = output;
     _source = source;
 }
コード例 #12
0
 public BindPipeSpecification(IPipeContextSource <TSource, TContext> source)
 {
     _source                  = source;
     _pipeConfigurator        = new PipeConfigurator <BindContext <TContext, TSource> >();
     _contextPipeConfigurator = new ContextPipeConfigurator(_pipeConfigurator);
 }
コード例 #13
0
 public BindPipeSpecification(IPipeContextSource <TRight, TLeft> source)
 {
     _source                  = source;
     _pipeConfigurator        = new PipeConfigurator <BindContext <TLeft, TRight> >();
     _contextPipeConfigurator = new ContextPipeConfigurator(_pipeConfigurator);
 }
コード例 #14
0
 public PipeContextSourceBindFilter(IPipe <BindContext <TContext, TSource> > output, IPipeContextSource <TSource, TContext> source)
 {
     _output = output;
     _source = source;
 }