7 references to _structNames
Aspire.Hosting.CodeGeneration.Rust (7)
AtsRustCodeGenerator.cs (7)
522var builderStructName = _structNames.TryGetValue(AtsConstants.BuilderTypeId, out var name) 596_structNames.Clear(); 599_structNames[typeId] = CreateStructName(typeId); 613results.Add(new RustHandleType(typeId, _structNames[typeId], isResourceBuilder)); 749_structNames.TryGetValue(typeId, out var name) ? name : "Handle"; 851if (_structNames.Values.Contains(name, StringComparer.Ordinal)) 860while (_structNames.Values.Contains(candidate, StringComparer.Ordinal))