Class
OfficePolymorphicAttribute
OfficeIMO
Configures how a type with OfficeDerivedTypeAttribute registrations writes its discriminator.
Inheritance
- Attribute
- OfficePolymorphicAttribute
Constructors
public OfficePolymorphicAttribute() #Inherited Methods
Properties
public string? DiscriminatorPropertyName { get; set; } #Gets or sets the key that holds the discriminator, such as kind. The key is written first and may appear anywhere when reading. When null (the default), YAML uses a local tag (!cat) and TOML the key $type.
Inherited Properties
public virtual object TypeId { get; } #Inherited from Attribute