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

Collected() public static méthode

public static Collected ( this show ) : int
show this
Résultat int
        public static int Collected(this TraktShow show)
        {
            var collectedEpisodes = TraktCache.CollectedEpisodes;
            if (collectedEpisodes == null)
                return 0;

            // count all the episodes collected in the show
            return collectedEpisodes.Where(e => (((e.ShowId == show.Ids.Trakt) && e.ShowId != null) || (e.ShowTvdbId == show.Ids.Tvdb) && e.ShowTvdbId != null)).Count();
        }

Same methods

TraktCache::Collected ( this season, TraktShowSummary show ) : int
TraktCache