public ImdbInfoSearchResult(ImdbInfoProvider service, string id, string url, string title, byte[] poster, string description, int? year, bool isTvShow) { _service = service; _id = id; _url = url; _imdbId = Id; _title = title; _description = description; _poster = poster; _year = year; _isTvShow = isTvShow; }
public ImdbAdvancedInfoSearchResult(ImdbInfoProvider service, string id, string url, string title, byte[] poster, int? year, bool isTvShow, string outline, string credits, float? rating, int? voteCount, int? runtime, string genres) : base(service, id, url, title, poster, string.Join(Environment.NewLine, new[] {credits, runtime.HasValue ? runtime + " " + Resources.MinuteReduced + " - " + genres : string.Empty, outline}), year, isTvShow) { _outline = outline; _credits = credits; _rating = rating; _voteCount = voteCount; _runtime = runtime; _genres = genres; }
public ImdbMediaInfo(ImdbInfoProvider service, string id, string url, string imdbId, string title, string originalTitle, string outline, byte[] poster, int? year, string credits, float? rating, int? voteCount, int? runtime, Language? language, bool isTvShow, IEnumerable<string> genres, IDictionary<string, object> serviceIds) { _service = service; _id = id; _url = url; _imdbId = imdbId; _title = title; _originalTitle = originalTitle; _outline = outline; _poster = poster; _year = year; _credits = credits; _rating = rating; _voteCount = voteCount; _runtime = runtime; _language = language; _isTvShow = isTvShow; _genres = genres ?? Enumerable.Empty<string>(); _serviceIds = serviceIds ?? new Dictionary<string, object>(); }
public ImdbTvShowInfo(ImdbInfoProvider service, string id, string url, string imdbId, string title, string originalTitle, string outline, byte[] poster, int? year, string credits, float? rating, int? voteCount, int? runtime, Language? language, IEnumerable<string> genres, IDictionary<string, object> otherIds) : base(service, id, url, imdbId, title, originalTitle, outline, poster, year, credits, rating, voteCount, runtime, language, true, genres, otherIds) { }