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