YamlTypeDiscriminatorStyle Enum
Controls how polymorphic type discriminators are encoded.
public enum YamlTypeDiscriminatorStyleFields
| Name | Value | Description |
|---|---|---|
Unspecified | -1 | Use the serializer options default. |
Tag | 0 | Use YAML tags only. |
Property | 1 | Use discriminator property only. |
Both | 2 | Accept or emit both tag and discriminator property. |