示例#1
0
 public SubEmployee(string name, string position, int salary) : base(name, position, salary)
 {
     _behaviour = new NoOneSubordinatesBehaviour();
 }
示例#2
0
 public Employee(string name, string position, int salary) : base(name, position, salary)
 {
     _behaviour = new ManySubordinatesBehaviour();
     Employees  = new List <EmployeeComponent>();
 }