TraktPlugin.TraktCache.IsWatched C# (CSharp) Méthode

IsWatched() public static méthode

public static IsWatched ( this movie ) : bool
movie this
Résultat bool
        public static bool IsWatched(this TraktMovie movie)
        {
            if (WatchedMovies == null)
                return false;

            return WatchedMovies.Any(m => ((m.Movie.Ids.Trakt == movie.Ids.Trakt) && m.Movie.Ids.Trakt != null) ||
                                          ((m.Movie.Ids.Imdb == movie.Ids.Imdb) && m.Movie.Ids.Imdb.ToNullIfEmpty() != null) ||
                                          ((m.Movie.Ids.Tmdb == movie.Ids.Tmdb) && m.Movie.Ids.Tmdb != null));
        }

Same methods

TraktCache::IsWatched ( this episode, TraktShow show ) : bool
TraktCache::IsWatched ( this season, TraktShowSummary show ) : bool
TraktCache