2 instantiations of GoExportedValueTreeNode
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.cs (2)
733
var root = new
GoExportedValueTreeNode
();
741
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,
731
private static
GoExportedValueTreeNode
BuildExportedValueTree(IReadOnlyList<AtsExportedValueInfo> exportedValues)
733
var
root = new GoExportedValueTreeNode();
736
var
current = root;
739
if (!current.Children.TryGetValue(segment, out
var
child))