public static IR1Top RMethodGroup(this IR1Top r1Top, IGMethodGroup gMethodGroup)
 {
     r1Top.Sb.Append($"{r1Top.Indent}#region {gMethodGroup.GName}{r1Top.Eol}");
     r1Top.Indent.Append(r1Top.IndentDelta);
     foreach (var o in gMethodGroup.GMethods)
     {
         r1Top.RMethod(o.Value);
     }
     r1Top.Indent.ReplaceFirst(r1Top.IndentDelta, "");
     r1Top.Sb.Append($"{r1Top.Indent}#endregion {r1Top.Eol}");
     return(r1Top);
 }
 public static IGInterface AddMethodGroup(this IGInterface gInterface, IGMethodGroup gMethodGroup)
 {
     gInterface.GMethodGroups[gMethodGroup.Id] = gMethodGroup;
     return(gInterface);
 }
Beispiel #3
0
 public static IGClass AddMethodGroup(this IGClass gClass, IGMethodGroup gMethodGroup)
 {
     gClass.GMethodGroups[gMethodGroup.Id] = gMethodGroup;
     return(gClass);
 }