System.Diagnostics.TraceInternal.Unindent C# (CSharp) Method

Unindent() public static method

public static Unindent ( ) : void
return void
        public static void Unindent()
        {
            // Use global lock
            lock (critSec)
            {
                InitializeSettings();
                if (t_indentLevel > 0)
                {
                    t_indentLevel--;
                }
                foreach (TraceListener listener in Listeners)
                {
                    listener.IndentLevel = t_indentLevel;
                }
            }
        }

Usage Example

Beispiel #1
0
 public static void Unindent()
 {
     TraceInternal.Unindent();
 }