Example #1
0
 public EmployeeDecorator(Employee target)
 {
     _target = target;
     Name = target.Name;
     HourlyWage = target.HourlyWage;
     EmployeeBio = target.EmployeeBio;
 }
Example #2
0
 public HighPerformer(Employee target)
     : base(target)
 {
     EmployeeBio += " High Performer,";
     HourlyWage *= 1.10;
 }
Example #3
0
 public SoftballPlayer(Employee target)
     : base(target)
 {
     EmployeeBio += "Softball Player, ";
 }
Example #4
0
 public SafetyTeamMember(Employee target)
     : base(target)
 {
     EmployeeBio += "Safety Team Member, ";
 }