Beispiel #1
0
 public StructGenerator AddProperty(PropertyGenerator generator)
 {
     properties.Add(generator);
     return(this);
 }
Beispiel #2
0
 /// <summary>
 /// Add a property to this class.
 /// </summary>
 /// <param name="generator"></param>
 /// <returns></returns>
 public ClassGenerator AddProperty(PropertyGenerator generator)
 {
     properties.Add(generator);
     return(this);
 }