7 writes to TypeDiscriminatorPropertyName
Microsoft.AspNetCore.OpenApi.Tests (1)
Shared\SharedTypes.Polymorphism.cs (1)
50
[JsonPolymorphic(
TypeDiscriminatorPropertyName
= "discriminator")]
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\WorkDoneProgress.cs (1)
19
[JsonPolymorphic(
TypeDiscriminatorPropertyName
= "kind")]
Microsoft.Extensions.AI.Abstractions (4)
ChatCompletion\ChatResponseFormat.cs (1)
10
[JsonPolymorphic(
TypeDiscriminatorPropertyName
= "$type")]
ChatCompletion\ChatToolMode.cs (1)
15
[JsonPolymorphic(
TypeDiscriminatorPropertyName
= "$type")]
Contents\AIContent.cs (1)
9
[JsonPolymorphic(
TypeDiscriminatorPropertyName
= "$type")]
Embeddings\Embedding.cs (1)
11
[JsonPolymorphic(
TypeDiscriminatorPropertyName
= "$type")]
Sample (1)
src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Shared\SharedTypes.Polymorphism.cs (1)
50
[JsonPolymorphic(
TypeDiscriminatorPropertyName
= "discriminator")]
1 reference to TypeDiscriminatorPropertyName
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonPolymorphismOptions.cs (1)
111
TypeDiscriminatorPropertyName = polymorphicAttribute.
TypeDiscriminatorPropertyName
,