Beispiel #1
0
    /// <summary>
    /// Turn a ChatChannel into a string of all channels within it
    /// </summary>
    /// <returns>Returns a string of all of the channel names</returns>
    private static string ListChannels(ChatChannel channels, string separator = ", ")
    {
        string listChannels = string.Join(separator, EncryptionKey.getChannelsByMask(channels));

        return(listChannels == "" ? "None" : listChannels);
    }