Пример #1
0
 internal static Consumer For(BrokeredMessageProcessor brokeredMessageProcessor, MessageReceiver receiver, CancellationTokenSource cancellationTokenSource)
 {
     return(new Consumer(brokeredMessageProcessor, receiver, cancellationTokenSource));
 }
Пример #2
0
 private Consumer(BrokeredMessageProcessor brokeredMessageProcessor, MessageReceiver messageReceiver, CancellationTokenSource cancellationTokenSourceSource)
 {
     _brokeredMessageProcessor = brokeredMessageProcessor;
     _messageReceiver          = messageReceiver;
     _cancellationTokenSource  = cancellationTokenSourceSource;
 }
Пример #3
0
 public ConsumerFactory(BrokeredMessageProcessor brokeredMessageProcessor)
 {
     _brokeredMessageProcessor = brokeredMessageProcessor;
 }