Inheritance
System.Object
DiagnosticsNode
public abstract class DiagnosticsNode
Constructors
Declaration
protected DiagnosticsNode(string name = null, DiagnosticsTreeStyle? style = default(DiagnosticsTreeStyle? ), bool showName = true, bool showSeparator = true)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Nullable<DiagnosticsTreeStyle> |
style |
|
System.Boolean |
showName |
|
System.Boolean |
showSeparator |
|
Fields
Declaration
public readonly string name
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly bool showSeparator
Field Value
Type |
Description |
System.Boolean |
|
Properties
emptyBodyDescription
Declaration
public virtual string emptyBodyDescription { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual DiagnosticLevel level { get; }
Property Value
Declaration
public virtual bool showName { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual DiagnosticsTreeStyle? style { get; }
Property Value
textTreeConfiguration
Declaration
protected TextTreeConfiguration textTreeConfiguration { get; }
Property Value
Declaration
public abstract object valueObject { get; }
Property Value
Type |
Description |
System.Object |
|
Methods
Declaration
public abstract List<DiagnosticsNode> getChildren()
Returns
Declaration
public abstract List<DiagnosticsNode> getProperties()
Returns
Declaration
public bool isFiltered(DiagnosticLevel minLevel)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static DiagnosticsNode message(string message, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Returns
toDescription(TextTreeConfiguration)
Declaration
public abstract string toDescription(TextTreeConfiguration parentConfiguration = null)
Parameters
Returns
Type |
Description |
System.String |
|
Declaration
public virtual Dictionary<string, object> toJsonMap()
Returns
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
toString(TextTreeConfiguration, DiagnosticLevel)
Declaration
public virtual string toString(TextTreeConfiguration parentConfiguration = null, DiagnosticLevel minLevel = DiagnosticLevel.info)
Parameters
Returns
Type |
Description |
System.String |
|
toStringDeep(String, String, TextTreeConfiguration, DiagnosticLevel)
Declaration
public string toStringDeep(string prefixLineOne = "", string prefixOtherLines = null, TextTreeConfiguration parentConfiguration = null, DiagnosticLevel minLevel = DiagnosticLevel.debug)
Parameters
Returns
Type |
Description |
System.String |
|