Exemple #1
0
 public int AddPledges(HtmlDocument Document)
 {
     for (int i = 0; i < countPledges(Document); i++)
     {
         Pledges.Add(new Pledge(getPledgeNode(Document, i), Document));
         if (Account == null)
         {
             Account = new Pledge(getPledgeNode(Document, i), Document).getPledgeAccount(Document);
         }
     }
     return(countPledges(Document));
 }