1 write to Namespace
Microsoft.AspNetCore.Components.AI.SourceGenerators (1)
ToolBlockCandidate.cs (1)
24Namespace = @namespace;
9 references to Namespace
Microsoft.AspNetCore.Components.AI.SourceGenerators (9)
ToolBlockCandidate.cs (3)
55return Namespace == other.Namespace 68var hash = Hash.Combine(Namespace, ClassName);
ToolBlockEmitter.cs (6)
22if (!string.IsNullOrEmpty(candidate.Namespace)) 24sb.AppendLine($"namespace {candidate.Namespace};"); 216var fullClass = string.IsNullOrEmpty(candidate.Namespace) 218: "global::" + candidate.Namespace + "." + handlerName; 234return string.IsNullOrEmpty(candidate.Namespace) 236: Sanitize(candidate.Namespace) + "." + suffix;