コード例 #1
0
        public object DeepCloneObj()
        {
            var other = (CustomEpgTabInfo)MemberwiseClone();

            other.ViewServiceList = ViewServiceList.ToList();
            other.ViewContentList = ViewContentList.DeepClone();
            other.SearchKey       = SearchKey.DeepClone();
            return(other);
        }
コード例 #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);
        }