Class DiagnosticsProperty<T> | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class DiagnosticsProperty<T>

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

    Fields

    defaultValue

    Declaration
    public readonly object defaultValue
    Field Value
    Type Description
    Object

    ifEmpty

    Declaration
    public readonly string ifEmpty
    Field Value
    Type Description
    String

    ifNull

    Declaration
    public readonly string ifNull
    Field Value
    Type Description
    String

    missingIfNull

    Declaration
    public readonly bool missingIfNull
    Field Value
    Type Description
    Boolean

    tooltip

    Declaration
    public readonly string tooltip
    Field Value
    Type Description
    String

    Properties

    exception

    Declaration
    public Exception exception { get; }
    Property Value
    Type Description
    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
    Type

    value

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

    valueObject

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

    Methods

    getChildren()

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

    getProperties()

    Declaration
    public override List<DiagnosticsNode> getProperties()
    Returns
    Type Description
    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
    String name
    ComputePropertyValueCallback<T> computeValue
    String description
    String ifNull
    String ifEmpty
    Boolean showName
    Boolean showSeparator
    Object defaultValue
    String tooltip
    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
    String
    Overrides
    DiagnosticsNode.toDescription(TextTreeConfiguration)

    toJsonMap()

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

    valueToString(TextTreeConfiguration)

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