Class YamlSerializer
Inheritance
YamlSerializer
Namespace:Microsoft.DocAsCode.YamlSerialization
Assembly:Microsoft.DocAsCode.YamlSerialization.dll
Syntax
public class YamlSerializer
Constructors
|
Improve this Doc
View Source
YamlSerializer(SerializationOptions, INamingConvention)
Declaration
public YamlSerializer(SerializationOptions options = SerializationOptions.None, INamingConvention namingConvention = null)
Parameters
Type |
Name |
Description |
YamlDotNet.Serialization.SerializationOptions |
options |
|
YamlDotNet.Serialization.INamingConvention |
namingConvention |
|
Methods
|
Improve this Doc
View Source
Serialize(TextWriter, Object)
Declaration
public void Serialize(TextWriter writer, object graph)
Parameters
|
Improve this Doc
View Source
Serialize(IEmitter, Object)
Declaration
public void Serialize(IEmitter emitter, object graph)
Parameters
Type |
Name |
Description |
YamlDotNet.Core.IEmitter |
emitter |
|
Object |
graph |
|
Extension Methods