Beispiel #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();
        }
Beispiel #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();
        }