Inheritance
DiagnosticsProperty<T>
public class DiagnosticsProperty<T> : DiagnosticsNode
Type Parameters
Constructors
Declaration
public DiagnosticsProperty(string name, T value, string description = null, string ifNull = null, string ifEmpty = null, bool showName = true, bool showSeparator = true, object defaultValue = null, string tooltip = null, bool missingIfNull = false, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Fields
Declaration
public readonly object defaultValue
Field Value
Declaration
public readonly string ifEmpty
Field Value
Declaration
public readonly string ifNull
Field Value
Declaration
public readonly bool missingIfNull
Field Value
Declaration
public readonly string tooltip
Field Value
Properties
Declaration
public Exception exception { get; }
Property Value
Declaration
public override DiagnosticLevel level { get; }
Property Value
Overrides
Declaration
public Type propertyType { get; }
Property Value
Declaration
Property Value
Declaration
public override object valueObject { get; }
Property Value
Overrides
Methods
Declaration
public override List<DiagnosticsNode> getChildren()
Returns
Overrides
Declaration
public override List<DiagnosticsNode> getProperties()
Returns
Overrides
Declaration
public static DiagnosticsProperty<T> lazy(string name, ComputePropertyValueCallback<T> computeValue, string description = null, string ifNull = null, string ifEmpty = null, bool showName = true, bool showSeparator = true, object defaultValue = null, string tooltip = null, bool missingIfNull = false, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Returns
toDescription(TextTreeConfiguration)
Declaration
public override string toDescription(TextTreeConfiguration parentConfiguration = null)
Parameters
Returns
Overrides
Declaration
public override Dictionary<string, object> toJsonMap()
Returns
Overrides
valueToString(TextTreeConfiguration)
Declaration
protected virtual string valueToString(TextTreeConfiguration parentConfiguration = null)
Parameters
Returns