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;
        }