Table of Contents

Class Options.NetworkConverter

Namespace
NLightning.NLTG
Assembly
NLightning.NLTG.dll

Convert the Network option to a simple string for serialization

public class Options.NetworkConverter : IYamlTypeConverter
Inheritance
Options.NetworkConverter
Implements
IYamlTypeConverter
Inherited Members

Methods

Accepts(Type)

Gets a value indicating whether the current converter supports converting the specified type.

public bool Accepts(Type type)

Parameters

type Type

Returns

bool

ReadYaml(IParser, Type)

Reads an object's state from a YAML parser.

public object ReadYaml(IParser parser, Type type)

Parameters

parser IParser
type Type

Returns

object

WriteYaml(IEmitter, object?, Type)

Writes the specified object's state to a YAML emitter.

public void WriteYaml(IEmitter emitter, object? value, Type type)

Parameters

emitter IEmitter
value object
type Type