コード例 #1
0
 public Task <bool> Consume(MQTypedMessage <TMessage, TContent> typedMessage)
 {
     return(Task.FromResult(true));
 }
 private MQTypedConsumerContext <TMessage, TContent, IMQTypedMessageConsumer <TMessage, TContent> > CreateConsumerContext(
     MQTypedMessage <TMessage, TContent> typedMessage)
 {
     return(new MQTypedConsumerContext <TMessage, TContent, IMQTypedMessageConsumer <TMessage, TContent> >(
                typedMessage, _typedMessageConsumer.Value));
 }