设计模式之C#实现(二)---Builder[6]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 cuike519 的 blog

                     return this.m_product;

              }

       }

 

       // construct an object using the builder interface.

       public class director{

              public void construct(builder builder){

                     //顺序不能变

                     builder.buildparta();

                     builder.buildpartb();

              }

       }

 

       // represents the complex object under construction.concretebuilder builds

本文关键:设计模式,Builder
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top