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
ReadYaml(IParser, Type)
Reads an object's state from a YAML parser.
public object ReadYaml(IParser parser, Type type)
Parameters
parser
IParsertype
Type
Returns
WriteYaml(IEmitter, object?, Type)
Writes the specified object's state to a YAML emitter.
public void WriteYaml(IEmitter emitter, object? value, Type type)