1 write to TypeName
Microsoft.AspNetCore.Components.AI.SourceGenerators (1)
ToolBlockCandidate.cs (1)
89TypeName = typeName;
7 references to TypeName
Microsoft.AspNetCore.Components.AI.SourceGenerators (7)
ToolBlockCandidate.cs (3)
104&& TypeName == other.TypeName 113hash = Hash.Combine(hash, TypeName.GetHashCode());
ToolBlockEmitter.cs (4)
341sb.AppendLine($" global::System.Text.Json.JsonElement __je => global::System.Text.Json.JsonSerializer.Deserialize<{prop.TypeName}>(__je)!,"); 342sb.AppendLine($" string __json => global::System.Text.Json.JsonSerializer.Deserialize<{prop.TypeName}>(__json)!,"); 343sb.AppendLine($" _ => ({prop.TypeName}){varName}!"); 376sb.AppendLine($" _ => global::System.Text.Json.JsonSerializer.Deserialize<{prop.TypeName}>({varName})!");