Show / Hide Table of Contents

Class ConfigStringBuilder

Facilitates the creation/building of strings from existing strings or configuration vectors. This is used for example to build DB connect strings from host names that need to be resolved via an external system

Inheritance
System.Object
ConfigStringBuilder
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: NFX.Environment
Assembly: NFX.dll
Syntax
public static class ConfigStringBuilder

Methods

Build(IConfigNode)

Builds the string based on the configured state supplied as a config vector, or passes the supplied string through if it is not a loaconic vector with CONFIG_BUILDER_ROOT

Declaration
public static string Build(IConfigNode source)
Parameters
Type Name Description
IConfigNode source

The original source which may be IConfigStringBuilder injector or attribute value

Returns
Type Description
System.String

The original attribute string value or the string returnd by IConfigStringBuilder.BuildString() method if IConfigStringBuilder was specified

Build(IConfigSectionNode, String)

Builds the string based on the configured state supplied as a config vector, or passes the supplied string through if it is not a loaconic vector with CONFIG_BUILDER_ROOT

Declaration
public static string Build(IConfigSectionNode level, string sectionOrAttributeName)
Parameters
Type Name Description
IConfigSectionNode level

The configuration section level

System.String sectionOrAttributeName

The name of section or attribute at the specified level

Returns
Type Description
System.String

The original attribute string value or the string returnd by IConfigStringBuilder.BuildString() method if IConfigStringBuilder was specified

Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX