Example #1
0
 /// <summary>
 /// Add a nested enum to this class.
 /// </summary>
 public ClassGenerator AddEnum(EnumGenerator generator)
 {
     enums.Add(generator);
     return(this);
 }
Example #2
0
 public NamespaceGenerator AddEnum(EnumGenerator @enum)
 {
     enums.Add(@enum);
     return(this);
 }
 public StructGenerator AddEnum(EnumGenerator generator)
 {
     enums.Add(generator);
     return(this);
 }