Esempio n. 1
0
 public static IMatch <Movie> is_published_by(ProductionStudio studio)
 {
     return(new IsPublishedBy(studio));
 }
Esempio n. 2
0
 public IsPublishedBy(ProductionStudio studio)
 {
     this.studio = studio;
 }
 IEnumerable<Movie> filter_movies_by_production_studio(ProductionStudio studio)
 {
     foreach (var movie in all_movies())
     {
         if (movie.production_studio.Equals(studio))
         {
             yield return movie;
         }
     }
 }