Inheritance
System.Object
FlagProperty
Inherited Members
DiagnosticsProperty<Nullable<Boolean>>.lazy(String, ComputePropertyValueCallback<Nullable<Boolean>>, String, String, String, Boolean, Boolean, Object, String, Boolean, DiagnosticsTreeStyle, DiagnosticLevel)
public class FlagProperty : DiagnosticsProperty<bool? >
Constructors
Declaration
public FlagProperty(string name, bool? value, string ifTrue = null, string ifFalse = null, bool showName = false, object defaultValue = null, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Nullable<System.Boolean> |
value |
|
System.String |
ifTrue |
|
System.String |
ifFalse |
|
System.Boolean |
showName |
|
System.Object |
defaultValue |
|
DiagnosticLevel |
level |
|
Fields
Declaration
public readonly string ifFalse
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly string ifTrue
Field Value
Type |
Description |
System.String |
|
Properties
Declaration
public override DiagnosticLevel level { get; }
Property Value
Overrides
Unity.UIWidgets.foundation.DiagnosticsProperty<System.Nullable<System.Boolean>>.level
Declaration
public override bool showName { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
Declaration
public override Dictionary<string, object> toJsonMap()
Returns
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
Overrides
Unity.UIWidgets.foundation.DiagnosticsProperty<System.Nullable<System.Boolean>>.toJsonMap()
valueToString(TextTreeConfiguration)
Declaration
protected override string valueToString(TextTreeConfiguration parentConfiguration = null)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Unity.UIWidgets.foundation.DiagnosticsProperty<System.Nullable<System.Boolean>>.valueToString(Unity.UIWidgets.foundation.TextTreeConfiguration)