예제 #1
0
 /// <summary>
 /// Remove an existing Activite from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveActivite(Activite oldActivite)
 {
     if (oldActivite == null)
     {
         return;
     }
     if (this.activite != null)
     {
         if (this.activite.Contains(oldActivite))
         {
             this.activite.Remove(oldActivite);
         }
     }
 }
예제 #2
0
 /// <summary>
 /// Add a new Activite in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddActivite(Activite newActivite)
 {
     if (newActivite == null)
     {
         return;
     }
     if (this.activite == null)
     {
         this.activite = new System.Collections.ArrayList();
     }
     if (!this.activite.Contains(newActivite))
     {
         this.activite.Add(newActivite);
     }
 }