Example #1
0
 public MethodGenerator AddAttribute(AttributeGenerator generator)
 {
     attributes.Add(generator);
     return(this);
 }
Example #2
0
 /// <summary>
 /// Add an attribute above this class.
 /// </summary>
 public ClassGenerator AddAttribute(AttributeGenerator generator)
 {
     attributes.Add(generator);
     return(this);
 }
 public PropertyGenerator AddAttribute(AttributeGenerator attributeGenerator)
 {
     attributes.Add(attributeGenerator);
     return(this);
 }
Example #4
0
 public InterfaceGenerator AddAttribute(AttributeGenerator generator)
 {
     attributes.Add(generator);
     return(this);
 }
 public FieldGenerator AddAttribute(AttributeGenerator attributeGenerator)
 {
     attributes.Add(attributeGenerator);
     return(this);
 }
 public StructGenerator AddAttribute(AttributeGenerator generator)
 {
     attributes.Add(generator);
     return(this);
 }