示例#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;
 }