예제 #1
0
        static void Main(string[] args)
        {
            //DesignPattern.FactoryPattern.BuilderPattern;
            UseBuilderPattern useBP = new UseBuilderPattern();
            useBP.MakeCallToPerson();

            DesignPattern.FactoryPattern.BridgePattern.ClientUseBridgePattern client = new DesignPattern.FactoryPattern.BridgePattern.ClientUseBridgePattern();
            client.MakePhoneCall("13524343720");
            client.ReceiveCall();

            Console.ReadLine();
        }
예제 #2
0
        static void Main(string[] args)
        {
            //DesignPattern.FactoryPattern.BuilderPattern;
            UseBuilderPattern useBP = new UseBuilderPattern();

            useBP.MakeCallToPerson();

            DesignPattern.FactoryPattern.BridgePattern.ClientUseBridgePattern client = new DesignPattern.FactoryPattern.BridgePattern.ClientUseBridgePattern();
            client.MakePhoneCall("13524343720");
            client.ReceiveCall();

            Console.ReadLine();
        }