/// <summary>
 /// 获取接收者类型
 /// </summary>
 /// <param name="receiver"></param>
 /// <returns></returns>
 public static MessageReceiverType GetReceiverType(this ITopicReceiver receiver)
 {
     return(MessageReceiverType.TopicReceiver);
 }
 public OrderCoordinator(ITopicReceiver receiver)
 {
     _receiver = receiver;
 }
Пример #3
0
 public ServiceBusSubscriptionHostedService(ITopicReceiver topicReceiver, LicenceServices licenceServices)
 {
     this.licenceServices = licenceServices;
     this.topicReceiver   = topicReceiver;
 }