Show / Hide Table of Contents

Class YamlDotNetSerializer

Serializes objects as YAML using YamlDotNet.

Inheritance
System.Object
YamlDotNetSerializer
Implements
IObjectSerializer
Namespace: Log73.Extensions.YamlDotNet
Assembly: Log73.Extensions.YamlDotNet.dll
Syntax
public class YamlDotNetSerializer : object, IObjectSerializer

Constructors

| Improve this Doc View Source

YamlDotNetSerializer()

Declaration
public YamlDotNetSerializer()
| Improve this Doc View Source

YamlDotNetSerializer(Serializer)

Declaration
public YamlDotNetSerializer(Serializer serializer)
Parameters
Type Name Description
Serializer serializer

Properties

| Improve this Doc View Source

Serializer

Declaration
public Serializer Serializer { get; set; }
Property Value
Type Description
Serializer

Methods

| Improve this Doc View Source

Serialize(Object)

Serialize the object as YAML using Serializer.

Declaration
public string Serialize(object obj)
Parameters
Type Name Description
System.Object obj

The object.

Returns
Type Description
System.String

The serialized object.

Implements

IObjectSerializer

Extension Methods

DumpExtensionMethods.Dump(Object)
DumpExtensionMethods.DumpInfo(Object)
DumpExtensionMethods.DumpWarn(Object)
DumpExtensionMethods.DumpError(Object)
DumpExtensionMethods.DumpDebug(Object)
SerializeExtensionMethods.SerializeAsXml(Object)
SerializeExtensionMethods.SerializeAsXml(Object, XmlWriterSettings)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX