Ejemplo n.º 1
0
 public static IR1Top RDelegateGroup(this IR1Top r1Top, IGDelegateGroup gDelegateGroup)
 {
     r1Top.Sb.Append($"{r1Top.Indent}#region {gDelegateGroup.GName}{r1Top.Eol}");
     r1Top.Indent.Append(r1Top.IndentDelta);
     foreach (var o in gDelegateGroup.GDelegates)
     {
         r1Top.RDelegate(o.Value);
     }
     r1Top.Indent.ReplaceFirst(r1Top.IndentDelta, "");
     r1Top.Sb.Append($"{r1Top.Indent}#endregion {r1Top.Eol}");
     return(r1Top);
 }
Ejemplo n.º 2
0
 public static IGNamespace AddDelegateGroups(this IGNamespace gNamespace, IGDelegateGroup gDelegateGroup)
 {
     gNamespace.GDelegateGroups[gDelegateGroup.Id] = gDelegateGroup;
     return(gNamespace);
 }
Ejemplo n.º 3
0
 public static IGClass AddDelegateGroup(this IGClass gClass, IGDelegateGroup gDelegateGroup)
 {
     gClass.GDelegateGroups[gDelegateGroup.Id] = gDelegateGroup;
     return(gClass);
 }