<commit_before>using System.Collections.Generic;

namespace Wukong.Services
{
    interface IChannelManager
    {
        
    }
    public class ChannelManager : IChannelManager
    {
        private ISocketManager socketManager;
        private IProvider provider;
        public ChannelManager(ISocketManager socketManager, IProvider provider)
        {
            this.socketManager = socketManager;
            this.provider = provider;
        }
        public void Join(string channelId, string userId)
        {
            var channel = Storage.Instance.GetChannel(channelId) ?? 
                Storage.Instance.CreateChannel(channelId, socketManager, provider);
            if (channel.UserList.Contains(userId)) {
            }
       }

       public void BroadCastUserList(Channel channel, string userId = null)
       {
           var userList = userId != null ? new List<string> { userId } : channel.UserList;
       }
    }
}<commit_msg>Comment unused code.<commit_after>using System.Collections.Generic;

namespace Wukong.Services
{
//    interface IChannelManager
//    {
//        
//    }
//    public class ChannelManager : IChannelManager
//    {
//        private ISocketManager socketManager;
//        private IProvider provider;
//        public ChannelManager(ISocketManager socketManager, IProvider provider)
//        {
//            this.socketManager = socketManager;
//            this.provider = provider;
//        }
//        public void Join(string channelId, string userId)
//        {
//            var channel = Storage.Instance.GetChannel(channelId) ?? 
//                Storage.Instance.CreateChannel(channelId, socketManager, provider);
//            if (channel.UserList.Contains(userId)) {
//            }
//       }
//
//       public void BroadCastUserList(Channel channel, string userId = null)
//       {
//           var userList = userId != null ? new List<string> { userId } : channel.UserList;
//       }
//    }
}
{'fraction_non_alphanumeric': 0.09903504316912139, 'fraction_numerical': 0.0, 'mean_word_length': 2.021472392638037, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4108310', 'n_tokens_mistral': 493, 'n_tokens_neox': 497, 'n_words': 110}