Beispiel #1
0
        public static void Demo()
        {
            ProxyDPEmployee employee1 = new ProxyDPEmployee()
            {
                Username = "******",
                Role     = "manager"
            };
            ProxyDPEmployee employee2 = new ProxyDPEmployee()
            {
                Username = "******",
                Role     = "developer"
            };

            EmployeesSalaryProxy proxy1 = new EmployeesSalaryProxy(employee1);

            proxy1.GetEmployeesSalary();
            EmployeesSalaryProxy proxy2 = new EmployeesSalaryProxy(employee2);

            proxy2.GetEmployeesSalary();
        }
Beispiel #2
0
 public EmployeesSalary(EmployeesSalaryProxy employeesSalaryProxy)
 {
 }