Gets or sets the global indent level.
Namespace: CleanCode.DiagnosticsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
public int GlobalIndentLevel { get; set; }
public int GlobalIndentLevel { get; set; }
Public Property GlobalIndentLevel As Integer
Get
Set
Public Property GlobalIndentLevel As Integer
Get
Set
public:
virtual property int GlobalIndentLevel {
int get () sealed;
void set (int value) sealed;
}
public:
virtual property int GlobalIndentLevel {
int get () sealed;
void set (int value) sealed;
}
Field Value
The global indent level.
Implements
ITraceListenerIndenter GlobalIndentLevel
Consumers of a TraceListener that implements this interface should
use the GlobalIndentLevel property instead of the IndentLevel property
when adjusting the indentation.
This will let all such listeners honor the same indentation
instead of being independent.
According to MSDN documentation,
"[the IndentLevel] property is stored on per-thread/per-request basis".