Table of Contents

IgnoreCondition Enum

Definition

Namespace
Bodu.Text.Serialization
Assembly
Bodu.Text.Serialization.dll
Package
Bodu.Text.Serialization 1.0.0
Source
IgnoreCondition.cs

Specifies the condition under which a member is excluded from serialization, whether through IgnoreAttribute on the member or through the serializer-wide default ignore condition.

public enum IgnoreCondition
Extension Methods

Fields

Never = 0

Property is never ignored.

Always = 1

Property is always ignored.

WhenWritingDefault = 2

Ignored on write when it equals the default for its type.

WhenWritingNull = 3

Ignored on write when null.

Applies to

ProductVersions
.NET8, 10