2 instantiations of GoExportedValueTreeNode
Aspire.Hosting.CodeGeneration.Go (2)
AtsGoCodeGenerator.cs (2)
744
var root = new
GoExportedValueTreeNode
();
752
child = new
GoExportedValueTreeNode
();
8 references to GoExportedValueTreeNode
Aspire.Hosting.CodeGeneration.Go (8)
AtsGoCodeGenerator.cs (8)
18
public Dictionary<string,
GoExportedValueTreeNode
> Children { get; } = new(StringComparer.Ordinal);
604
var
root = BuildExportedValueTree(exportedValues);
618
private string RenderGoExportedValueType(
GoExportedValueTreeNode
node, int indentLevel)
650
GoExportedValueTreeNode
node,
742
private static
GoExportedValueTreeNode
BuildExportedValueTree(IReadOnlyList<AtsExportedValueInfo> exportedValues)
744
var
root = new GoExportedValueTreeNode();
747
var
current = root;
750
if (!current.Children.TryGetValue(segment, out
var
child))