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 = 0Property is never ignored.
Always = 1Property is always ignored.
WhenWritingDefault = 2Ignored on write when it equals the default for its type.
WhenWritingNull = 3Ignored on write when null.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |