예제 #1
0
 public StructGenerator AddProperty(PropertyGenerator generator)
 {
     properties.Add(generator);
     return(this);
 }
예제 #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);
 }