IYamlOnSerializing interface
Specifies that the type should have its IYamlOnSerializing.OnSerializing method called before serialization occurs.
Namespace: System.Text.Yaml.Serialization ยท Assembly: Styml.dll
public interface IYamlOnSerializing
Specifies that the type should have its IYamlOnSerializing.OnSerializing method called before serialization occurs.
RemarksLink to this heading
This behavior is only supported on types representing YAML objects. Types that have a custom converter or represent either collections or primitive values do not support this behavior.
MethodsLink to this heading
OnSerializingLink to this heading
The method that is called before serialization.
public void OnSerializing();