Ejemplo n.º 1
0
 /// <summary>
 /// Remove an existing AdditionalDocument from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveAdditionalDocument(AdditionalDocument oldAdditionalDocument)
 {
     if (oldAdditionalDocument == null)
     {
         return;
     }
     if (this.additionalDocument != null)
     {
         if (this.additionalDocument.Contains(oldAdditionalDocument))
         {
             this.additionalDocument.Remove(oldAdditionalDocument);
             oldAdditionalDocument.Report = null;
         }
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a new AdditionalDocument in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddAdditionalDocument(AdditionalDocument newAdditionalDocument)
 {
     if (newAdditionalDocument == null)
     {
         return;
     }
     if (this.additionalDocument == null)
     {
         this.additionalDocument = new System.Collections.Generic.List <AdditionalDocument>();
     }
     if (!this.additionalDocument.Contains(newAdditionalDocument))
     {
         this.additionalDocument.Add(newAdditionalDocument);
         newAdditionalDocument.Report = this;
     }
 }