IOnDeserializing Interface
Definition
- Namespace
- Bodu.Text.Serialization
- Assembly
- Bodu.Text.Serialization.dll
- Package
- Bodu.Text.Serialization 1.0.0
- Source
- IOnDeserializing.cs
Defines a callback that the serializer invokes on a freshly constructed value immediately before its members are populated from the input, letting the value initialize default state.
public interface IOnDeserializing
- Extension Methods
Remarks
OnDeserializing() is called after the target instance has been created and before any member is assigned, so state it establishes can be overwritten by the incoming data.
Methods
OnDeserializing()
Called by the serializer before the value's members are populated.
void OnDeserializing()
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |