Summary
OnMemberNotFound event allows to specify dynamically, whether to raise an exception or skip value silently when de-serialising data contains unknown class or record member.
Syntax
property OnMemberNotFound: TMemberNotFound read FOnMemberNotFound write FOnMemberNotFound;
Remarks
Write OnMemberNotFound event handler to specify dynamically the action that should be performed when de-serializing data contains unknown class or record member. By default, de-serializer looks for corresponding NG.Serialization.SkipMemberAttribute or NG.Serialization.SkipAllAttribute and ignores member data in case the attributes specified. In any case the default behavior can be adjusted wrieting OnMemberNotFound event handler.