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