YamlKnownReferenceHandler enum
The ReferenceHandler to be used at run time.
Namespace: System.Text.Yaml.Serialization ยท Assembly: Styml.dll
public enum YamlKnownReferenceHandler
The ReferenceHandler to be used at run time.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
Unspecified |
0 | Specifies that circular references should throw exceptions. |
Preserve |
1 | Specifies that the built-in ReferenceHandler.Preserve be used to handle references. |
IgnoreCycles |
2 | Specifies that the built-in ReferenceHandler.IgnoreCycles be used to ignore cyclic references. |
PreserveAll |
3 | Specifies that the built-in ReferenceHandler.PreserveAll be used to handle references: every object and collection is anchored. |