private static string GetSubscriptType(SubscriptType type) { switch (type) { case SubscriptType.ALL: return("[ALL]"); case SubscriptType.One: return("[One]"); case SubscriptType.Two: return("[Two]"); default: throw new ArgumentOutOfRangeException(nameof(type), type, null); } }
public PublisherSubscript(SubscriptType type) { _sendType = SubscriptType.ALL; }