public static IMatch <Movie> is_published_by(ProductionStudio studio) { return(new IsPublishedBy(studio)); }
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; } } }