コード例 #1
0
 /// <summary>
 /// Add an Avenant to the contract
 /// </summary>
 /// <param name="newAvenant"></param>
 public void AddAvenant(Avenant newAvenant)
 {
     //if (newAvenant == null)
     //    return;
     //if (!this.avenant.Contains(newAvenant))
     //    this.avenant.Add(newAvenant);
 }
コード例 #2
0
 /// <summary>
 /// Add an Avenant to the contract
 /// </summary>
 /// <param name="newAvenant"></param>
 public void addAvenant(Avenant newAvenant)
 {
     if (newAvenant == null)
     {
         return;
     }
     if (!this.avenant.Contains(newAvenant))
     {
         this.avenant.Add(newAvenant);
     }
 }