コード例 #1
0
 public static IGInterface AddProperty(this IGInterface gInterface, IGProperty gProperty)
 {
     gInterface.GPropertys[gProperty.Id] = (gProperty);
     return(gInterface);
 }
コード例 #2
0
 public static StringBuilder RenderInterfacePropertyStringBuilder(this StringBuilder sb, IGProperty gProperty, StringBuilder indent, string eol, CancellationToken?ct = default)
 {
     return(sb.Append($"{indent}{gProperty.GType} {gProperty.GName} {gProperty.GAccessors}{eol}"));
 }
コード例 #3
0
 public static IGClass <TValue> AddProperty(this IGClass gClass, IGProperty gProperty)
 {
     gClass.GPropertys[gProperty.Id] = (gProperty);
     return(gClass);
 }
コード例 #4
0
 public static IR1Top RInterfaceProperty(this IR1Top r1Top, IGProperty gProperty)
 {
     r1Top.Sb.RenderInterfacePropertyStringBuilder(gProperty, r1Top.Indent, r1Top.Eol, r1Top.Ct);
     return(r1Top);
 }
コード例 #5
0
 public static StringBuilder RenderPropertyStringBuilder(this StringBuilder sb, IGProperty gProperty, StringBuilder indent, string eol, CancellationToken?ct = default)
 {
     ct?.ThrowIfCancellationRequested();
     return(sb.Append($"{indent}{gProperty.GVisibility} {gProperty.GType} {gProperty.GName} {gProperty.GAccessors}{eol}"));
 }