src/Azos/Conf/ConfigStringBuilder.cs
/// <summary>
/// Builds the string based on the configured state supplied as a config vector, or
/// passes the supplied string through if it is not a laconic vector with CONFIG_BUILDER_ROOT
/// </summary>
/// <param name="level">The configuration section level</param>
/// <param name="sectionOrAttributeName">The name of section or attribute at the specified level</param>
/// <returns>The original attribute string value or the string returned by IConfigStringBuilder.BuildString() method if IConfigStringBuilder was specified</returns>
Builds the string based on the configured state supplied as a config vector, or
passes the supplied string through if it is not a laconic vector with CONFIG_BUILDER_ROOT
Builds the string based on the configured state supplied as a config vector or passes the supplied string through if it is not a laconic vector with CONFIG_BUILDER_ROOT
public static string Build(IConfigSectionNode level, string sectionOrAttributeName)
    {
      if (level == null || !level.Exists) return string.Empty;
      IConfigNode source = level[sectionOrAttributeName];
      if (!source.Exists) source = level.AttrByName(sectionOrAttributeName);
      return Build(source);
    }
public static string Build ( IConfigSectionNode level , string sectionOrAttributeName ) { if ( level == null || ! level . Exists ) return string . Empty ; IConfigNode source = level [ sectionOrAttributeName ] ; if ( ! source . Exists ) source = level . AttrByName ( sectionOrAttributeName ) ; return Build ( source ) ; }
Builds the string based on the configured state supplied as a config vector, or
passes the supplied string through if it is not a laconic vector with CONFIG_BUILDER_ROOT
Builds the string based on the configured state supplied as a config vector or passes the supplied string through if it is not a laconic vector with CONFIG_BUILDER_ROOT
The original attribute string value or the string returned by IConfigStringBuilder.BuildString() method if IConfigStringBuilder was specified
The original attribute string value or the string returned by IConfigStringBuilder . BuildString () method if IConfigStringBuilder was specified
level
IConfigSectionNode
The configuration section level
The configuration section level
sectionOrAttributeName
string
The name of section or attribute at the specified level
The name of section or attribute at the specified level