Пример #1
0
        public static void RunProxy()
        {
            IPayment checkPayment = new CheckProxy(12345678, "ICICI", "UNICEF");

            checkPayment.PayFund(2500);

            IPayment onlinePayment = new OnlineFundTransfer(12345678, "CITI", "My Mother");

            onlinePayment.PayFund(30000);
        }
Пример #2
0
    public static void RunProxy()
    {
      IPayment checkPayment = new CheckProxy(12345678, "ICICI", "UNICEF");
      checkPayment.PayFund(2500);

      IPayment onlinePayment = new OnlineFundTransfer(12345678, "CITI", "My Mother");
      onlinePayment.PayFund(30000);
    }