Example #1
0
 /// <summary>
 /// Class constructor
 /// </summary>
 /// <param name="name">Name of institute</param>
 /// <param name="address">Address of institute</param>
 /// <param name="head">Head of institute</param>
 /// <param name="employees">Institute contains this list of employees</param>
 public Institute(string name, Address address, Head head, List <Employee> employees) : base(name, address)
 {
     Head = head;
     AddMembers(employees);
 }
Example #2
0
 /// <summary>
 /// Class constructor
 /// </summary>
 /// <param name="name">Name of management</param>
 /// <param name="address">Address of management</param>
 /// <param name="head">Head of management</param>
 /// <param name="accountants">Management contains this list of accountants</param>
 public Management(string name, Address address, Head head, List <Accountant> accountants) : base(name, address)
 {
     Head = head;
     AddMembers(accountants);
 }