コード例 #1
0
        public IBuildHouseSyntax WithWindow(Window window)
        {
            this.newestRoom.AddWindow(window);

            return this;
        }
コード例 #2
0
 public void AddWindow(Window window)
 {
     this.windows.Add(window);
 }
コード例 #3
0
        public IBuildHouseSyntax AddWindowWithBorderColor(Color borderColor)
        {
            var window = new Window { BorderColor = borderColor };

            this.newestRoom.AddWindow(window);

            return this;
        }