Пример #1
0
 public Set(IChair chair, ICoffeTable coffeTable, ISofa sofa) : this(chair, coffeTable)
 {
     Sofa = sofa;
 }
Пример #2
0
 private Set(IChair chair, ICoffeTable coffeTable)
 {
     Chair      = chair;
     CoffeTable = coffeTable;
 }
Пример #3
0
 public static Set CreateSetWithChairAndCoffeTable(IChair chair, ICoffeTable coffeTable)
 {
     return(new Set(chair, coffeTable));
 }