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