234 references to RootElement
aspire (27)
Aspire.Cli.EndToEnd.Tests (1)
Aspire.Cli.Tests (26)
Aspire.Dashboard (12)
Model\GenAI\GenAIMessages.cs (12)
215if (!doc.RootElement.TryGetProperty("type", out var typeProp))
224MessagePart.TextType => doc.RootElement.Deserialize<TextPart>(options),
225MessagePart.ToolCallType => TryParseStringArguments(doc.RootElement.Deserialize<ToolCallRequestPart>(options)),
226MessagePart.ToolCallResponseType => doc.RootElement.Deserialize<ToolCallResponsePart>(options),
227MessagePart.BlobType => doc.RootElement.Deserialize<BlobPart>(options),
228MessagePart.FileType => doc.RootElement.Deserialize<FilePart>(options),
229MessagePart.UriType => doc.RootElement.Deserialize<UriPart>(options),
230MessagePart.ReasoningType => doc.RootElement.Deserialize<ReasoningPart>(options),
231MessagePart.ServerToolCallType => TryParseServerToolCallArguments(doc.RootElement.Deserialize<ServerToolCallPart>(options)),
232MessagePart.ServerToolCallResponseType => doc.RootElement.Deserialize<ServerToolCallResponsePart>(options),
233_ => doc.RootElement.Deserialize<GenericPart>(options),
243errorPart = doc.RootElement.Deserialize<UnexpectedErrorPart>(options);
Aspire.Dashboard.Tests (7)
Aspire.Hosting (2)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.JavaScript (1)
Aspire.Hosting.Maui (1)
Aspire.Hosting.OpenAI (1)
Aspire.Hosting.PostgreSQL.Tests (1)
Aspire.Hosting.Seq.Tests (1)
Aspire.Hosting.Tests (24)
Aspire.Templates.Tests (1)
dotnet (5)
dotnet-sourcelink (1)
dotnet-user-jwts (2)
ILCompiler.Compiler (1)
ILCompiler.ReadyToRun (1)
Infrastructure.Tests (6)
Microsoft.AspNetCore.Authentication.OAuth (3)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.Build (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.Deployment.DotNet.Releases (2)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.ProjectTools (1)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions.Tests (29)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (1)
Microsoft.Extensions.AI.Evaluation.Safety (5)
Microsoft.Extensions.AI.OpenAI.Tests (3)
Microsoft.Extensions.AI.Tests (7)
Microsoft.Extensions.Configuration.Json (3)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.NET.Build.Containers (4)
Microsoft.NET.HostModel (1)
Microsoft.SourceLink.Tools.Package (1)
Microsoft.TemplateEngine.Edge (2)
Microsoft.TemplateEngine.Utils (2)
Microsoft.TemplateSearch.Common (2)
Microsoft.TestPlatform.CommunicationUtilities (20)
Microsoft.TestPlatform.TestHostRuntimeProvider (1)
rzc (1)
Shared.Tests (2)
System.Text.Json (15)