2 instantiations of GoExportedValueTreeNode
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.cs (2)
743
var root = new
GoExportedValueTreeNode
();
751
child = new
GoExportedValueTreeNode
();
8 references to GoExportedValueTreeNode
Aspire.Hosting.CodeGeneration.Go (8)
AtsGoCodeGenerator.cs (8)
17
public Dictionary<string,
GoExportedValueTreeNode
> Children { get; } = new(StringComparer.Ordinal);
603
var
root = BuildExportedValueTree(exportedValues);
617
private string RenderGoExportedValueType(
GoExportedValueTreeNode
node, int indentLevel)
649
GoExportedValueTreeNode
node,
741
private static
GoExportedValueTreeNode
BuildExportedValueTree(IReadOnlyList<AtsExportedValueInfo> exportedValues)
743
var
root = new GoExportedValueTreeNode();
746
var
current = root;
749
if (!current.Children.TryGetValue(segment, out
var
child))