Beispiel #1
0
 public Part(GHPart p)
 {
     this.FillFields(p);
 }
Beispiel #2
0
 public void FillFields(GHPart p)
 {
     this.text = Guide.UnescapeHtml(p.text);
     this.notes = Guide.UnescapeHtml(p.notes);
     this.type = Guide.UnescapeHtml(p.type);
     this.quantity = int.Parse(p.quantity);
     this.url = Guide.UnescapeHtml(p.url);
 }