Пример #1
0
 public static Subscription Any <TMessage>() where TMessage : IMessage
 => new Subscription(MessageUtil.TypeId <TMessage>());
Пример #2
0
 public bool IsInfrastructure()
 {
     return(MessageUtil.IsInfrastructure(this));
 }
Пример #3
0
 public bool IsPersistent()
 {
     return(MessageUtil.IsPersistent(this));
 }
Пример #4
0
 public bool IsInfrastructure() => MessageUtil.IsInfrastructure(this);
Пример #5
0
 public MessageTypeId(string fullName)
 {
     _descriptor = MessageUtil.GetMessageTypeDescriptor(fullName);
 }
Пример #6
0
 public MessageTypeId(Type messageType)
 {
     _descriptor = MessageUtil.GetMessageTypeDescriptor(messageType);
 }