コード例 #1
0
        public ReceiveContextSendTransportProvider(IRabbitMqBusConfiguration busConfiguration, ReceiveContext receiveContext)
            : base(busConfiguration)
        {
            _receiveContext = receiveContext;

            _modelContext = receiveContext.GetPayload <ModelContext>();
        }
コード例 #2
0
        public ReceiveContextPublishTransportProvider(ReceiveContext receiveContext, RabbitMqHost host, IRabbitMqPublishTopology publishTopology)
            : base(host, publishTopology)
        {
            _receiveContext = receiveContext;

            _modelContext = receiveContext.GetPayload <ModelContext>();
        }