IYamlOnSerialized interface
Specifies that the type should have its IYamlOnSerialized.OnSerialized method called after serialization occurs.
Namespace: System.Text.Yaml.Serialization ยท Assembly: Styml.dll
public interface IYamlOnSerialized
Specifies that the type should have its IYamlOnSerialized.OnSerialized method called after 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
OnSerializedLink to this heading
The method that is called after serialization.
public void OnSerialized();