Source/NFX/Environment/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 loaconic vector with CONFIG_BUILDER_ROOT
/// </summary>
/// <param name="source">The original source which may be IConfigStringBuilder injector or attribute value</param>
/// <returns>The original attribute string value or the string returnd 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 loaconic 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 loaconic vector with CONFIG_BUILDER_ROOT
public static string Build(IConfigNode source)
    {
      if (source == null || !source.Exists) return string.Empty;
      if (source is IConfigAttrNode) return source.Value;
      var root = (IConfigSectionNode)source;
      var builder = FactoryUtils.MakeAndConfigure<IConfigStringBuilder>(root);
      return builder.BuildString();
    }
public static string Build ( IConfigNode source ) { if ( source == null || ! source . Exists ) return string . Empty ; if ( source is IConfigAttrNode ) return source . Value ; var root = ( IConfigSectionNode ) source ; var builder = FactoryUtils . MakeAndConfigure < IConfigStringBuilder > ( root ) ; return builder . BuildString ( ) ; }
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
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
The original attribute string value or the string returnd by IConfigStringBuilder.BuildString() method if IConfigStringBuilder was specified
The original attribute string value or the string returnd by IConfigStringBuilder . BuildString () method if IConfigStringBuilder was specified
source
IConfigNode
The original source which may be IConfigStringBuilder injector or attribute value
The original source which may be IConfigStringBuilder injector or attribute value