36 references to Deserialize
Aspire.Dashboard (11)
Model\GenAI\GenAIMessages.cs (11)
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);
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)