Exemplo n.º 1
0
 /// <summary>Initializes a new instance of the <see cref="PostSeason" /> class.</summary>
 /// <param name="number">The number of this season.</param>
 /// <param name="episodes">A list of episode numbers. See also <see cref="PostEpisodes" />.</param>
 public PostSeason(int number, PostEpisodes episodes)
 {
     Number   = number;
     Episodes = episodes;
 }
Exemplo n.º 2
0
 /// <summary>Adds a season number and a list of episode numbers to the collection.</summary>
 /// <param name="season">The season number, which will be added.</param>
 /// <param name="episodes">A list of episode numbers. See also <see cref="PostEpisodes" />.</param>
 public void Add(int season, PostEpisodes episodes) => _seasons.Add(new PostSeason(season, episodes));