Example #1
0
 public void RemoveSpecialization(Specialization oldSpecialization)
 {
     if (oldSpecialization == null)
     {
         return;
     }
     if (this.specialization != null)
     {
         if (this.specialization.Contains(oldSpecialization))
         {
             this.specialization.Remove(oldSpecialization);
         }
     }
 }
Example #2
0
 public void AddSpecialization(Specialization newSpecialization)
 {
     if (newSpecialization == null)
     {
         return;
     }
     if (this.specialization == null)
     {
         this.specialization = new List <Specialization>();
     }
     if (!this.specialization.Contains(newSpecialization))
     {
         this.specialization.Add(newSpecialization);
     }
 }