コード例 #1
0
 public void AddEmployee(EmployeeModel employee)
 {
     CurrentEmployee.Add(employee);
     CurrentEmployee = employee;
 }
コード例 #2
0
        public List <PersonComponent> ExecuteAlgorithm(EmployeeModel element)
        {
            List <PersonComponent> result = ContextStrategy.DoAlgorithm(element);;

            return(result);
        }
コード例 #3
0
 public void AddRoot(EmployeeModel root)
 {
     Root            = root;
     CurrentEmployee = Root;
 }
コード例 #4
0
 public ShowByHeightStrategy(EmployeeModel element)
 {
     this.element = element;
 }