Esempio n. 1
0
 public static ProductBuilder Category(this ProductBuilder builder, string category) => builder.Do(p => p.Category = category);
Esempio n. 2
0
 public static ProductBuilder CompanyOf(this ProductBuilder builder, Company company) => builder.Do(p => p.Company = company);
Esempio n. 3
0
 public static ProductBuilder HowMuch(this ProductBuilder builder, int price) => builder.Do(p => p.price = price);