Ejemplo n.º 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);
    }
Ejemplo n.º 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);
        }