/// <summary> /// Test for an empty ChannelId /// </summary> /// <param name="id">The channel ID</param> /// <returns>true if id is null or empty</returns> public static bool IsNullOrEmpty(ChannelId id) { return(id == null || id.IsEmpty); }
bool Equals(ChannelId other) { return(string.Equals(_domain, other._domain) && string.Equals(_name, other._name) && string.Equals(_issuer, other._issuer) && _type == other._type); }