//チャンネルIDからチャンネルアイテムを生成
        //チャンネルの存在確認の例外対策したい・・・
        public ChannelItem AddChannelItem(string channelID)
        {
            Dictionary <string, string> dic;

            dic = this._youTubeDataProvider.RequestChannelData(channelID);

            ChannelItem item = CreateChannelItem(
                channelID,
                dic["channelName"],
                dic["thumbnail"],
                _schedule,
                new DateTime(),
                new DateTime(),
                new DateTime(),
                new DateTime(),
                DateTime.Now
                );

            //ライブ内容をログに吐き出す
            item.LogingChannelItem();

            _channelItems.Add(item.Id, item);

            return(item);
        }
        //テーブルからチャンネル一覧のリストを生成
        public int CreateChannelItemList(DataTable table)
        {
            _channelItems = new Dictionary <string, ChannelItem>();

            foreach (DataRow row in table.Rows)
            {
                ChannelItem item = CreateChannelItem(
                    row["ChannelID"].ToString(),
                    row["ChannelName"].ToString(),
                    row["Thumbnail"].ToString(),
                    _schedule,
                    new DateTime(),
                    new DateTime(),
                    new DateTime(),
                    new DateTime(),
                    DateTime.Parse(row["AddDate"].ToString())
                    );

                //ライブ内容をログに吐き出す
                item.LogingChannelItem();

                _channelItems.Add(item.Id, item);
            }

            return(_channelItems.Count);
        }