Source/NFX/CodeAnalysis/Laconfig/LaconfigWriter.cs
/// <summary>
/// Returns a padding string for specified level per set options
/// </summary>
Returns a padding string for specified level per set options
Returns a padding string for specified level per set options
public static string Indent(int level, LaconfigWritingOptions opt)
        {
            if (opt.IndentWidth>0) return string.Empty.PadLeft(level * opt.IndentWidth);
            return string.Empty;
        }
public static string Indent ( int level , LaconfigWritingOptions opt ) { if ( opt . IndentWidth > 0 ) return string . Empty . PadLeft ( level * opt . IndentWidth ) ; return string . Empty ; }
Returns a padding string for specified level per set options
Returns a padding string for specified level per set options
level
int
opt
LaconfigWritingOptions