Exemple #1
0
 public void ReportMostHardWorkingEmployee( object source, EmployeeInstance e)
 {
     Console.WriteLine("The most hardworking  works at "+ e.Employee.PlaceofWork);
 }
Exemple #2
0
  public void ReportReportingTime(object source, EmployeeInstance e)
 {
     Console.WriteLine("Employee {0} reported on {1} ", e.Employee.FullName, DateTime.Now.ToShortDateString());
     Thread.Sleep(5000);
 }
Exemple #3
0
 public void ReportOnAssignMent(object source, EmployeeInstance e)
 {
     Console.WriteLine("Employee {0} finshed the assignment at {1} ", e.Employee.LastName, DateTime.Now.ToShortTimeString());
     Thread.Sleep(6000);
 }