Class DiagnosticsProperty<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class DiagnosticsProperty<T>

    Inheritance
    System.Object
    DiagnosticsNode
    DiagnosticsProperty<T>
    _NumProperty<T>
    EnumerableProperty<T>
    EnumProperty<T>
    FlagProperty
    MessageProperty
    ObjectFlagProperty<T>
    StringProperty
    TransformProperty
    Inherited Members
    DiagnosticsNode.message(String, DiagnosticsTreeStyle, DiagnosticLevel)
    DiagnosticsNode.name
    DiagnosticsNode.showSeparator
    DiagnosticsNode.isFiltered(DiagnosticLevel)
    DiagnosticsNode.showName
    DiagnosticsNode.emptyBodyDescription
    DiagnosticsNode.style
    DiagnosticsNode.ToString()
    DiagnosticsNode.toString(TextTreeConfiguration, DiagnosticLevel)
    DiagnosticsNode.textTreeConfiguration
    DiagnosticsNode.toStringDeep(String, String, TextTreeConfiguration, DiagnosticLevel)
    Namespace: Unity.UIWidgets.foundation
    Syntax
    public class DiagnosticsProperty<T> : DiagnosticsNode
    Type Parameters
    Name Description
    T

    Constructors

    DiagnosticsProperty(String, T, String, String, String, Boolean, Boolean, Object, String, Boolean, DiagnosticsTreeStyle, DiagnosticLevel)

    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
    Type Name Description
    System.String name
    T value
    System.String description
    System.String ifNull
    System.String ifEmpty
    System.Boolean showName
    System.Boolean showSeparator
    System.Object defaultValue
    System.String tooltip
    System.Boolean missingIfNull
    DiagnosticsTreeStyle style
    DiagnosticLevel level

    Fields

    defaultValue

    Declaration
    public readonly object defaultValue
    Field Value
    Type Description
    System.Object

    ifEmpty

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

    ifNull

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

    missingIfNull

    Declaration
    public readonly bool missingIfNull
    Field Value
    Type Description
    System.Boolean

    tooltip

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

    Properties

    exception

    Declaration
    public Exception exception { get; }
    Property Value
    Type Description
    System.Exception

    level

    Declaration
    public override DiagnosticLevel level { get; }
    Property Value
    Type Description
    DiagnosticLevel
    Overrides
    DiagnosticsNode.level

    propertyType

    Declaration
    public Type propertyType { get; }
    Property Value
    Type Description
    System.Type

    value

    Declaration
    public T value { get; }
    Property Value
    Type Description
    T

    valueObject

    Declaration
    public override object valueObject { get; }
    Property Value
    Type Description
    System.Object
    Overrides
    DiagnosticsNode.valueObject

    Methods

    getChildren()

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

    getProperties()

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

    lazy(String, ComputePropertyValueCallback<T>, String, String, String, Boolean, Boolean, Object, String, Boolean, DiagnosticsTreeStyle, DiagnosticLevel)

    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
    Type Name Description
    System.String name
    ComputePropertyValueCallback<T> computeValue
    System.String description
    System.String ifNull
    System.String ifEmpty
    System.Boolean showName
    System.Boolean showSeparator
    System.Object defaultValue
    System.String tooltip
    System.Boolean missingIfNull
    DiagnosticsTreeStyle style
    DiagnosticLevel level
    Returns
    Type Description
    DiagnosticsProperty<T>

    toDescription(TextTreeConfiguration)

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

    toJsonMap()

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

    valueToString(TextTreeConfiguration)

    Declaration
    protected virtual string valueToString(TextTreeConfiguration parentConfiguration = null)
    Parameters
    Type Name Description
    TextTreeConfiguration parentConfiguration
    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