Esempio n. 1
0
 /// <summary>
 /// Remove an existing SideEffectFrequency from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveSideEffectFrequency(SideEffectFrequency oldSideEffectFrequency)
 {
     if (oldSideEffectFrequency == null)
     {
         return;
     }
     if (this.sideEffectFrequency != null)
     {
         if (this.sideEffectFrequency.Contains(oldSideEffectFrequency))
         {
             this.sideEffectFrequency.Remove(oldSideEffectFrequency);
         }
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Add a new SideEffectFrequency in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddSideEffectFrequency(SideEffectFrequency newSideEffectFrequency)
 {
     if (newSideEffectFrequency == null)
     {
         return;
     }
     if (this.sideEffectFrequency == null)
     {
         this.sideEffectFrequency = new System.Collections.Generic.List <SideEffectFrequency>();
     }
     if (!this.sideEffectFrequency.Contains(newSideEffectFrequency))
     {
         this.sideEffectFrequency.Add(newSideEffectFrequency);
     }
 }