Edytuj

Udostępnij za pośrednictwem


GenerateSerializerAttribute.IncludePrimaryConstructorParameters Property

Definition

Get or sets if primary constructor parameters should automatically be included as Serializable fields. Defaults to true for record types, false otherwise.

public bool IncludePrimaryConstructorParameters { get; init; }
member this.IncludePrimaryConstructorParameters : bool with get, set
Public Property IncludePrimaryConstructorParameters As Boolean

Property Value

Applies to