Exemple #1
0
 public static IR1Top RAttributeGroup(this IR1Top r1Top, IDictionary <IPhilote <IGAttributeGroup>, IGAttributeGroup> gAttributeGroups)
 {
     foreach (var o in gAttributeGroups)
     {
         r1Top.RAttributeGroup(o.Value);
     }
     return(r1Top);
 }
 public static IR1Top REnumerationMember(this IR1Top r1Top, IGEnumerationMember gEnumerationMember)
 {
     r1Top.RComment(gEnumerationMember.GComment);
     r1Top.RAttributeGroup(gEnumerationMember.GAttributeGroups);
     r1Top.RAttribute(gEnumerationMember.GAttributes);
     r1Top.Sb.RenderEnumerationMemberStringBuilder(gEnumerationMember, r1Top.Indent, r1Top.Eol, r1Top.Ct);
     return(r1Top);
 }
Exemple #3
0
 public static IR1Top RAttributeGroup(this IR1Top r1Top, IEnumerable <IGAttributeGroup> gAttributeGroups)
 {
     foreach (var o in gAttributeGroups)
     {
         r1Top.RAttributeGroup(o);
     }
     return(r1Top);
 }
 public static IR1Top REnumeration(this IR1Top r1Top, IGEnumeration gEnumeration)
 {
     r1Top.RComment(gEnumeration.GComment);
     r1Top.RAttributeGroup(gEnumeration.GAttributeGroups);
     r1Top.RAttribute(gEnumeration.GAttributes);
     r1Top.Sb.RenderEnumerationPreambleStringBuilder(gEnumeration, r1Top.Indent, r1Top.Eol, r1Top.Ct);
     r1Top.Indent.Append(r1Top.IndentDelta);
     r1Top.REnumerationMember(gEnumeration.GEnumerationMembers);
     r1Top.Indent.ReplaceFirst(r1Top.IndentDelta, "");
     r1Top.Sb.Append($"{r1Top.Indent} }}{r1Top.Eol}");
     return(r1Top);
 }