예제 #1
0
 public Thing BuildChear()
 {
     for (var i = 0; i < 4; i++)
     {
         _chearBuilder.AddLeg();
     }
     _chearBuilder.AddВackrest();
     _chearBuilder.AddDesign("Classic borokko");
     return(_chearBuilder.Build());
 }
예제 #2
0
 public Thing BuildChear(ChearBuilder chearBuilder)
 {
     for (var i = 0; i < 3; i++)
     {
         chearBuilder.AddLeg();
     }
     chearBuilder.AddВackrest();
     chearBuilder.AddВackrest();
     chearBuilder.AddDesign("Modern lines");
     return(chearBuilder.Build());
 }