Пример #1
0
 public static PersonBuilder WorksAsA
     (this PersonBuilder builder, string position) => builder.Do(p => p.Position = position);
Пример #2
0
 public static PersonBuilder HisLastName(this PersonBuilder builder, string lastName)
 => builder.Do(p => p.LastName = lastName);