예제 #1
0
 public static IR1Top RPropertyGroup(this IR1Top r1Top, IGPropertyGroup gPropertyGroup)
 {
     r1Top.Ct?.ThrowIfCancellationRequested();
     r1Top.Sb.Append($"{r1Top.Indent}#region {gPropertyGroup.GName}{r1Top.Eol}");
     r1Top.Indent.Append(r1Top.IndentDelta);
     r1Top.RProperty(gPropertyGroup.GPropertys);
     r1Top.Indent.ReplaceFirst(r1Top.IndentDelta, "");
     r1Top.Sb.Append($"{r1Top.Indent}#endregion{r1Top.Eol}");
     return(r1Top);
 }
 public static IGInterface AddPropertyGroups(this IGInterface gInterface, IGPropertyGroup gPropertyGroup)
 {
     gInterface.GPropertyGroups[gPropertyGroup.Id] = gPropertyGroup;
     return(gInterface);
 }
예제 #3
0
 public static IGClass AddPropertyGroups(this IGClass gClass, IGPropertyGroup gPropertyGroup)
 {
     gClass.GPropertyGroups[gPropertyGroup.Id] = gPropertyGroup;
     return(gClass);
 }