Example #1
0
 public static string attributeToTs(attribute attr)
 {
     return("\n      public " + attr.name + ": " + attr.tsType + ";");
 }
Example #2
0
 public static string attributeToCs(attribute attr)
 {
     return("\n      public " + attr.csType + " " + attr.name + " { get; set; }");
 }