Table of Contents

Class YamlConverter

Namespace
Codebelt.Extensions.YamlDotNet.Converters
Assembly
Codebelt.Extensions.YamlDotNet.dll

Converts an object to and from YAML (YAML ain't markup language).

public abstract class YamlConverter : IYamlTypeConverter
Inheritance
YamlConverter
Implements
IYamlTypeConverter
Derived

Properties

Formatter

Gets or sets the YamlFormatter associated with this instance.

public YamlFormatter Formatter { get; set; }

Property Value

YamlFormatter

The YamlFormatter associated with this instance.

Methods

CanConvert(Type)

Determines whether this instance can convert the specified object type.

public abstract bool CanConvert(Type typeToConvert)

Parameters

typeToConvert Type

The Type of the object.

Returns

bool

true if this instance can convert the specified object type; otherwise, false.