Пример #1
0
        public static VolunteerManager CreateNew(string path)
        {
            VolunteerManager v = new VolunteerManager()
            {
                Workforce = WorkForce.Create(path)
            };

            return(v);
        }
Пример #2
0
 /// <summary>
 /// Merges a volunteer manager with the current volunteer manager
 /// </summary>
 /// <param name="v1"></param>
 public void Merge(VolunteerManager v1)
 {
     foreach (var volunteer in v1.GetVolunteers())
     {
         if (!Exists(volunteer))
         {
             this.Add(volunteer);
         }
     }
 }