2 instantiations of GoExportedValueTreeNode
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.cs (2)
1317
var root = new
GoExportedValueTreeNode
();
1325
child = new
GoExportedValueTreeNode
();
10 references to GoExportedValueTreeNode
Aspire.Hosting.CodeGeneration.Go (10)
AtsGoCodeGenerator.ApiProjection.cs (2)
555
var
root = BuildExportedValueTree(exportedValues);
605
GoExportedValueTreeNode
node,
AtsGoCodeGenerator.cs (8)
18
public Dictionary<string,
GoExportedValueTreeNode
> Children { get; } = new(StringComparer.Ordinal);
1150
var
root = BuildExportedValueTree(exportedValues);
1168
private string RenderGoExportedValueType(
GoExportedValueTreeNode
node, int indentLevel, bool includeDocs)
1215
GoExportedValueTreeNode
node,
1315
private static
GoExportedValueTreeNode
BuildExportedValueTree(IReadOnlyList<AtsExportedValueInfo> exportedValues)
1317
var
root = new GoExportedValueTreeNode();
1320
var
current = root;
1323
if (!current.Children.TryGetValue(segment, out
var
child))