Ejemplo n.º 1
0
 public static Title?GetTitle(this MovieSeriesEntry entry)
 => entry.Movie?.Title ?? entry.Series?.Title ?? entry.MovieSeries !.GetTitle();
Ejemplo n.º 2
0
 public static string GetYears(this MovieSeriesEntry entry)
 => entry.Movie != null
         ? entry.Movie.Year.ToString()
         : entry.Series != null
             ? entry.Series.GetYears()
             : entry.MovieSeries !.GetYears();