public static Subscription Any <TMessage>() where TMessage : IMessage => new Subscription(MessageUtil.TypeId <TMessage>());
public bool IsInfrastructure() { return(MessageUtil.IsInfrastructure(this)); }
public bool IsPersistent() { return(MessageUtil.IsPersistent(this)); }
public bool IsInfrastructure() => MessageUtil.IsInfrastructure(this);
public MessageTypeId(string fullName) { _descriptor = MessageUtil.GetMessageTypeDescriptor(fullName); }
public MessageTypeId(Type messageType) { _descriptor = MessageUtil.GetMessageTypeDescriptor(messageType); }