public static IGInterface AddProperty(this IGInterface gInterface, IGProperty gProperty) { gInterface.GPropertys[gProperty.Id] = (gProperty); return(gInterface); }
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}")); }
public static IGClass <TValue> AddProperty(this IGClass gClass, IGProperty gProperty) { gClass.GPropertys[gProperty.Id] = (gProperty); return(gClass); }
public static IR1Top RInterfaceProperty(this IR1Top r1Top, IGProperty gProperty) { r1Top.Sb.RenderInterfacePropertyStringBuilder(gProperty, r1Top.Indent, r1Top.Eol, r1Top.Ct); return(r1Top); }
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}")); }