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 SourceGetIpEndpointArrValues(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[] |
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[] |