Example #1
0
 /// <summary>
 /// チャンネル情報の初期化
 /// </summary>
 public void InitChannelInfo()
 {
     VideoId = "";
     BcUrl   = "";
     ChatId  = "";
     CommentList.Clear();
 }
 /// <summary>
 /// チャンネル情報の初期化
 /// </summary>
 public void InitChannelInfo()
 {
     ChannelName          = "";
     BcUrl                = "";
     BcStatus             = 0;
     MovieId              = 0;
     lastBcCmntCnt        = 0;
     lastBcCmntId         = 0;
     pendingCntForOffLine = 0;
     CommentList.Clear();
 }
Example #3
0
        public void OnShowAll()
        {
            bool check = true;


            if (check)
            {
                if (Selected == null)
                {
                    List <City> listaGradova = new List <City>();

                    CitiesList.Clear();
                    City c = new City();
                    listaGradova = c.GetAllCitiesListDone();
                    foreach (var item in listaGradova)
                    {
                        CitiesList.Add(item);
                    }


                    List <Comment> com = new List <Comment>();

                    Comment ccc = new Comment();
                    CommentList.Clear();

                    com = ccc.GetAllComment();
                    foreach (var item in com)
                    {
                        CommentList.Add(item);
                    }
                }
                else
                {
                    List <City> listaGradova = new List <City>();


                    City c = new City();
                    c.CityName = Selected.CityName;
                    List <Comment> com = new List <Comment>();
                    Comment        ccc = new Comment();
                    CommentList.Clear();

                    com = ccc.GetAllCommentSelected(c.CityName.ToString());
                    foreach (var item in com)
                    {
                        CommentList.Add(item);
                    }
                    Selected = null;
                }
            }
        }
Example #4
0
        public async Task Init()
        {
            List <Data.Model.Comment> comments = await _CommentService.Get <List <Data.Model.Comment> >(new CommentSearchRequest
            {
                MovieAndTvshowId = mtvs.Id
            });

            comments = comments.OrderBy(x => x.DateTimeOfComment).ToList();

            CommentList.Clear();
            foreach (var item in comments)
            {
                CommentList.Add(item);
            }
        }
 public void ResetComments()
 {
     CommentList.Clear();
     _currCommentType = CommentType.Long;
 }
Example #6
0
 public void ResetComments()
 {
     CommentList.Clear();
     _currCommentType = CommentType.Recommend;
 }