Class EnumerableProperty<T>
Inheritance
System.Object
DiagnosticsProperty<System.Collections.Generic.IEnumerable<T>>
EnumerableProperty<T>
Inherited Members
Namespace: Unity.UIWidgets.foundation
Syntax
public class EnumerableProperty<T> : DiagnosticsProperty<IEnumerable<T>>
Type Parameters
Name | Description |
---|---|
T |
Constructors
EnumerableProperty(String, IEnumerable<T>, Object, String, String, DiagnosticsTreeStyle, Boolean, DiagnosticLevel)
Declaration
public EnumerableProperty(string name, IEnumerable<T> value, object defaultValue = null, string ifNull = null, string ifEmpty = "[]", DiagnosticsTreeStyle style = DiagnosticsTreeStyle.singleLine, bool showName = true, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Collections.Generic.IEnumerable<T> | value | |
System.Object | defaultValue | |
System.String | ifNull | |
System.String | ifEmpty | |
DiagnosticsTreeStyle | style | |
System.Boolean | showName | |
DiagnosticLevel | level |
Properties
level
Declaration
public override DiagnosticLevel level { get; }
Property Value
Type | Description |
---|---|
DiagnosticLevel |
Overrides
Unity.UIWidgets.foundation.DiagnosticsProperty<System.Collections.Generic.IEnumerable<T>>.level
Methods
toJsonMap()
Declaration
public override Dictionary<string, object> toJsonMap()
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
Overrides
Unity.UIWidgets.foundation.DiagnosticsProperty<System.Collections.Generic.IEnumerable<T>>.toJsonMap()
valueToString(TextTreeConfiguration)
Declaration
protected override string valueToString(TextTreeConfiguration parentConfiguration = null)
Parameters
Type | Name | Description |
---|---|---|
TextTreeConfiguration | parentConfiguration |
Returns
Type | Description |
---|---|
System.String |
Overrides
Unity.UIWidgets.foundation.DiagnosticsProperty<System.Collections.Generic.IEnumerable<T>>.valueToString(Unity.UIWidgets.foundation.TextTreeConfiguration)