public Thing BuildChear() { for (var i = 0; i < 4; i++) { _chearBuilder.AddLeg(); } _chearBuilder.AddВackrest(); _chearBuilder.AddDesign("Classic borokko"); return(_chearBuilder.Build()); }
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()); }