Beispiel #1
0
 public CoApResources(string resp)
 {
     string[] resources = resp.Split(',');
     foreach (string res in resources)
     {
         if (res != "0" && res != "") // the last entry is actually just a null character converted from 0x00 to "0"
         {
             CoApResource r = new CoApResource(res);
             this.InnerList.Add(r);
         }
     }
 }
Beispiel #2
0
 public int Add(CoApResource value)
 {
     return(InnerList.Add(value));
 }