Exemple #1
0
        public NGResult IsNgVideo(Database.NicoVideo info)
        {
            NGResult result = null;

            if (info.Owner != null)
            {
                result = IsNgVideoOwnerId(info.Owner.OwnerId);
                if (result != null)
                {
                    return(result);
                }
            }

            result = IsNGVideoTitle(info.Title);
            if (result != null)
            {
                return(result);
            }

            return(result);
        }
Exemple #2
0
        public NGResult IsNgVideo(Interfaces.IVideoContent info)
        {
            NGResult result = null;

            if (info.ProviderId != null)
            {
                result = IsNgVideoOwnerId(info.ProviderId);
                if (result != null)
                {
                    return(result);
                }
            }

            result = IsNGVideoTitle(info.Label);
            if (result != null)
            {
                return(result);
            }

            return(result);
        }
Exemple #3
0
        public NGResult IsNgVideo(NicoVideo info)
        {
            NGResult result = null;

            result = IsNgVideoOwnerId(info.OwnerId.ToString());
            if (result != null)
            {
                return(result);
            }

            result = IsNGVideoId(info.RawVideoId);
            if (result != null)
            {
                return(result);
            }

            result = IsNGVideoTitle(info.Title);
            if (result != null)
            {
                return(result);
            }

            return(result);
        }