System.Diagnostics.TraceInternal.Indent C# (CSharp) Méthode

Indent() public static méthode

public static Indent ( ) : void
Résultat void
        public static void Indent()
        {
            // Use global lock
            lock (critSec)
            {
                InitializeSettings();
                if (t_indentLevel < Int32.MaxValue)
                {
                    t_indentLevel++;
                }
                foreach (TraceListener listener in Listeners)
                {
                    listener.IndentLevel = t_indentLevel;
                }
            }
        }

Usage Example

Exemple #1
0
 public static void Indent()
 {
     TraceInternal.Indent();
 }