예제 #1
0
        private void ClearGUI()
        {
            // Recommended for identification
            Title.Clear();
            IMDB_ID.Clear();
            TMDB_ID.Clear();

            // additional collection infos
            CollectionTitle.Clear();
            CollectionIndex.Clear();
            CollectionKeywords.Clear();
            // additional movie infos
            ReleaseDate.Clear();
            Overview.Clear();
            Tagline.Clear();
            Certification.Clear();
            Genres.Clear();
            Actors.Clear();
            Directors.Clear();
            Writers.Clear();
            MovieKeywords.Clear();
        }
예제 #2
0
        public bool Equals(TrendingEntry input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Weight == input.Weight ||
                     (Weight.Equals(input.Weight))
                     ) &&
                 (
                     IsFeatured == input.IsFeatured ||
                     (IsFeatured != null && IsFeatured.Equals(input.IsFeatured))
                 ) &&
                 (
                     Identifier == input.Identifier ||
                     (Identifier != null && Identifier.Equals(input.Identifier))
                 ) &&
                 (
                     EntityType == input.EntityType ||
                     (EntityType != null && EntityType.Equals(input.EntityType))
                 ) &&
                 (
                     DisplayName == input.DisplayName ||
                     (DisplayName != null && DisplayName.Equals(input.DisplayName))
                 ) &&
                 (
                     Tagline == input.Tagline ||
                     (Tagline != null && Tagline.Equals(input.Tagline))
                 ) &&
                 (
                     Image == input.Image ||
                     (Image != null && Image.Equals(input.Image))
                 ) &&
                 (
                     StartDate == input.StartDate ||
                     (StartDate != null && StartDate.Equals(input.StartDate))
                 ) &&
                 (
                     EndDate == input.EndDate ||
                     (EndDate != null && EndDate.Equals(input.EndDate))
                 ) &&
                 (
                     Link == input.Link ||
                     (Link != null && Link.Equals(input.Link))
                 ) &&
                 (
                     WebmVideo == input.WebmVideo ||
                     (WebmVideo != null && WebmVideo.Equals(input.WebmVideo))
                 ) &&
                 (
                     Mp4Video == input.Mp4Video ||
                     (Mp4Video != null && Mp4Video.Equals(input.Mp4Video))
                 ) &&
                 (
                     FeatureImage == input.FeatureImage ||
                     (FeatureImage != null && FeatureImage.Equals(input.FeatureImage))
                 ) &&
                 (
                     Items == input.Items ||
                     (Items != null && Items.SequenceEqual(input.Items))
                 ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ));
        }