JryVideo.Core.TheTVDB.TheTVDBClient.TheTVDBClient C# (CSharp) Méthode

TheTVDBClient() private méthode

private TheTVDBClient ( string apiKey, IEnumerable mirrors ) : Jasily.Net
apiKey string
mirrors IEnumerable
Résultat Jasily.Net
        internal TheTVDBClient(string apiKey, IEnumerable<Mirror> mirrors)
        {
            this.apiKey = apiKey;
            this.allMirror = mirrors.ToList();
            foreach (var mirror in this.allMirror)
            {
                if ((mirror.Type & MirrorType.Xml) == MirrorType.Xml)
                    this.xmlMirror.Add(mirror);
                if ((mirror.Type & MirrorType.Banner) == MirrorType.Banner)
                    this.bannerMirror.Add(mirror);
                if ((mirror.Type & MirrorType.Zip) == MirrorType.Zip)
                    this.zipMirror.Add(mirror);
            }
        }