Beispiel #1
0
        public CustomEpgTabInfo DeepClone()
        {
            var other = (CustomEpgTabInfo)MemberwiseClone();

            other.ViewServiceList     = ViewServiceList.ToList();
            other.ViewContentKindList = ViewContentKindList.ToList();
            other.SearchKey           = SearchKey.DeepClone();
            return(other);
        }
Beispiel #2
0
        public EpgSearchKeyInfo GetSearchKeyReloadEpg()
        {
            EpgSearchKeyInfo key = SearchKey.DeepClone();

            key.serviceList = ViewServiceList.Select(id => (long)id).ToList();
            if (SearchGenreNoSyncView == false)
            {
                key.contentList   = ViewContentList.DeepClone();
                key.notContetFlag = (byte)(ViewNotContentFlag == true ? 1 : 0);
            }
            return(key);
        }