public IBuildHouseSyntax WithWindow(Window window)
        {
            this.newestRoom.AddWindow(window);

            return this;
        }
예제 #2
0
 public void AddWindow(Window window)
 {
     this.windows.Add(window);
 }
        public IBuildHouseSyntax AddWindowWithBorderColor(Color borderColor)
        {
            var window = new Window { BorderColor = borderColor };

            this.newestRoom.AddWindow(window);

            return this;
        }