Ejemplo n.º 1
0
 /// <summary>
 /// Remove an existing MedicineDosage from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveMedicineDosage(MedicineDosage oldMedicineDosage)
 {
     if (oldMedicineDosage == null)
     {
         return;
     }
     if (this.medicineDosage != null)
     {
         if (this.medicineDosage.Contains(oldMedicineDosage))
         {
             this.medicineDosage.Remove(oldMedicineDosage);
         }
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a new MedicineDosage in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddMedicineDosage(MedicineDosage newMedicineDosage)
 {
     if (newMedicineDosage == null)
     {
         return;
     }
     if (this.medicineDosage == null)
     {
         this.medicineDosage = new System.Collections.Generic.List <MedicineDosage>();
     }
     if (!this.medicineDosage.Contains(newMedicineDosage))
     {
         this.medicineDosage.Add(newMedicineDosage);
     }
 }