IOnDeserialized Interface
Definition
- Namespace
- Bodu.Text.Serialization
- Assembly
- Bodu.Text.Serialization.dll
- Package
- Bodu.Text.Serialization 1.0.0
- Source
- IOnDeserialized.cs
Defines a callback that the serializer invokes on a value immediately after all of its members have been populated from the input, letting the value validate or finalize its state.
public interface IOnDeserialized
- Extension Methods
Remarks
OnDeserialized() is called once every mapped member has been assigned, so it observes the fully materialized value and is the natural place to enforce cross-member invariants.
Methods
OnDeserialized()
Called by the serializer after the value's members have been populated.
void OnDeserialized()
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |