示例#1
0
 /// <summary>
 /// Remove an existing Backend.Model.Util.Adress from the collection
 /// </summary>
 /// <pdGenerated>Default Remove</pdGenerated>
 public void RemoveAdress(Backend.Model.Util.Adress oldAdress)
 {
     if (oldAdress == null)
     {
         return;
     }
     if (this.adress != null)
     {
         if (this.adress.Contains(oldAdress))
         {
             this.adress.Remove(oldAdress);
         }
     }
 }
示例#2
0
 /// <summary>
 /// Add a new Backend.Model.Util.Adress in the collection
 /// </summary>
 /// <pdGenerated>Default Add</pdGenerated>
 public void AddAdress(Backend.Model.Util.Adress newAdress)
 {
     if (newAdress == null)
     {
         return;
     }
     if (this.adress == null)
     {
         this.adress = new System.Collections.Generic.List <Adress>();
     }
     if (!this.adress.Contains(newAdress))
     {
         this.adress.Add(newAdress);
     }
 }