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