示例#1
0
 public virtual Task NotifyConsumed <T>(ConsumeContext <T> context, TimeSpan duration, string consumerType)
     where T : class
 {
     return(ReceiveContext.NotifyConsumed(context, duration, consumerType));
 }
 protected ReceiveContextProxy(ReceiveContext context)
 {
     _context = context;
 }
示例#3
0
 protected BaseConsumeContext(ReceiveContext receiveContext)
     : base(receiveContext?.PublishEndpointProvider)
 {
     ReceiveContext = receiveContext;
 }