NFive API Reference

NFive API Reference

    Show / Hide Table of Contents

    Class IPAddressConverter

    Yaml converter for IPAddress.

    Inheritance
    Object
    IPAddressConverter
    Namespace: NFive.SDK.Plugins.Configuration
    Assembly: NFive.SDK.Plugins.dll
    Syntax
    public class IPAddressConverter : IYamlTypeConverter

    Methods

    | Improve this Doc View Source

    Accepts(Type)

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

    Declaration
    public bool Accepts(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    ReadYaml(IParser, Type)

    Reads an object's state from a YAML parser.

    Declaration
    public object ReadYaml(IParser parser, Type type)
    Parameters
    Type Name Description
    IParser parser
    Type type
    Returns
    Type Description
    Object
    | Improve this Doc View Source

    WriteYaml(IEmitter, Object, Type)

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

    Declaration
    public void WriteYaml(IEmitter emitter, object value, Type type)
    Parameters
    Type Name Description
    IEmitter emitter
    Object value
    Type type
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2019 NFive