Class DiagnosticsNode | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class DiagnosticsNode

    Inheritance
    System.Object
    DiagnosticsNode
    DiagnosticableNode<T>
    DiagnosticsProperty<T>
    Namespace: Unity.UIWidgets.foundation
    Syntax
    public abstract class DiagnosticsNode

    Constructors

    DiagnosticsNode(String, Nullable<DiagnosticsTreeStyle>, Boolean, Boolean)

    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

    name

    Declaration
    public readonly string name
    Field Value
    Type Description
    System.String

    showSeparator

    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

    level

    Declaration
    public virtual DiagnosticLevel level { get; }
    Property Value
    Type Description
    DiagnosticLevel

    showName

    Declaration
    public virtual bool showName { get; }
    Property Value
    Type Description
    System.Boolean

    style

    Declaration
    public virtual DiagnosticsTreeStyle? style { get; }
    Property Value
    Type Description
    System.Nullable<DiagnosticsTreeStyle>

    textTreeConfiguration

    Declaration
    protected TextTreeConfiguration textTreeConfiguration { get; }
    Property Value
    Type Description
    TextTreeConfiguration

    valueObject

    Declaration
    public abstract object valueObject { get; }
    Property Value
    Type Description
    System.Object

    Methods

    getChildren()

    Declaration
    public abstract List<DiagnosticsNode> getChildren()
    Returns
    Type Description
    System.Collections.Generic.List<DiagnosticsNode>

    getProperties()

    Declaration
    public abstract List<DiagnosticsNode> getProperties()
    Returns
    Type Description
    System.Collections.Generic.List<DiagnosticsNode>

    isFiltered(DiagnosticLevel)

    Declaration
    public bool isFiltered(DiagnosticLevel minLevel)
    Parameters
    Type Name Description
    DiagnosticLevel minLevel
    Returns
    Type Description
    System.Boolean

    message(String, DiagnosticsTreeStyle, DiagnosticLevel)

    Declaration
    public static DiagnosticsNode message(string message, DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, DiagnosticLevel level = DiagnosticLevel.info)
    Parameters
    Type Name Description
    System.String message
    DiagnosticsTreeStyle style
    DiagnosticLevel level
    Returns
    Type Description
    DiagnosticsNode

    toDescription(TextTreeConfiguration)

    Declaration
    public abstract string toDescription(TextTreeConfiguration parentConfiguration = null)
    Parameters
    Type Name Description
    TextTreeConfiguration parentConfiguration
    Returns
    Type Description
    System.String

    toJsonMap()

    Declaration
    public virtual Dictionary<string, object> toJsonMap()
    Returns
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>

    ToString()

    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
    Type Name Description
    TextTreeConfiguration parentConfiguration
    DiagnosticLevel minLevel
    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
    Type Name Description
    System.String prefixLineOne
    System.String prefixOtherLines
    TextTreeConfiguration parentConfiguration
    DiagnosticLevel minLevel
    Returns
    Type Description
    System.String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023