Show / Hide Table of Contents

    Class ConfigValueParser

    Inheritance
    System.Object
    ConfigValueParser
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Lib.Config
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public static class ConfigValueParser

    Methods

    | Improve this Doc View Source

    GetIpEndpointArrValues(IConfigurationRoot, String)

    use to parse array of IPEndpoints from config

    Declaration
    public static IPEndPoint[] GetIpEndpointArrValues(IConfigurationRoot configurationRoot, string section)
    Parameters
    Type Name Description
    IConfigurationRoot configurationRoot
    System.String section
    Returns
    Type Description
    System.Net.IPEndPoint[]
    | Improve this Doc View Source

    GetStringArrValues(IConfigurationRoot, String)

    Use to parse array of strings from config

    Declaration
    public static string[] GetStringArrValues(IConfigurationRoot configurationRoot, string section)
    Parameters
    Type Name Description
    IConfigurationRoot configurationRoot
    System.String section
    Returns
    Type Description
    System.String[]
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network