原创 My Adapter in C#
//MyAdapterusing System;//Class1class SimpleDrawer{ //Methods virtual public void SetColor(string name){}};//Adapter Cl
原创 My Builder in C#
//MyBuilderusing System;using System.Collections; ///////////////////////product///////////////////////class HomePage{
原创 即將發表創建型模式論文敬請關注
即將發表創建型模式論文敬請關注
原创 My FactoryMethod in C#
//MyFactoryMethodusing System;using System.Collections;//SinglePage class,which build the at last product,part element/
原创 My Composite in C#
//MyCompositeusing System;using System.Collections; //----------------------------------Class FileElementabstract class
原创 My Bridge in C#
//MyBridgeusing System; //-------------------------------------------------Class Manager//parent classabstract class Ma
原创 My Prototype in C#
//MyPrototypeusing System;using System.Collections;//abstract PageStylePrototype Class 'Prototypeabstract class PageSty
原创 My AbstractFactory in C#
//MyAbstractFactoryusing System; ///////////////Basic Products//////////////// //AbstractProductsabstract class FontsSt
原创 My Singleton in C#
//MySingletonusing System;//SingletonPage Classclass SingletonPage{ //Fields protected static SingletonPage checkoutpa