public static string GetActiveColor(this Franchise franchise) { var firstEntry = franchise.GetFirstEntry(); return(firstEntry != null ? firstEntry.Movie?.GetActiveColor() ?? firstEntry.Series !.GetActiveColor() : String.Empty); }
public static Title?GetListOriginalTitle(this Franchise franchise) => franchise.ShowTitles ? franchise.OriginalTitle ! : franchise.GetFirstEntry()?.GetOriginalTitle();
public static Title?GetOriginalTitle(this Franchise franchise) => franchise.Titles.Count > 0 ? franchise.OriginalTitle ! : franchise.GetFirstEntry()?.GetOriginalTitle();
public static int GetStartYear(this Franchise franchise) => franchise.GetFirstEntry()?.GetStartYear() ?? default;