Window Framework for UI Toolkit v2.0.x
GWG.WindowFramework.Theming.Json.JsonProperty Class Referencesealed

One named object value; obtained from an independently owned object tree. More...

Public Member Functions

 JsonProperty (string name, JsonNode value)
 Creates a named value reference; null value becomes explicit JSON null.

Properties

string Name [get]
 Gets ordinal property name; null names are rejected at construction.
JsonNode Value [get, set]
 Gets the referenced mutable value node, not an independent clone.

Detailed Description

One named object value; obtained from an independently owned object tree.

Constructor & Destructor Documentation

◆ JsonProperty()

GWG.WindowFramework.Theming.Json.JsonProperty.JsonProperty ( string name,
JsonNode value )
inline

Creates a named value reference; null value becomes explicit JSON null.

Parameters
nameNonnull property name.
valueRetained node reference.
Here is the call graph for this function:

Property Documentation

◆ Name

string GWG.WindowFramework.Theming.Json.JsonProperty.Name
get

Gets ordinal property name; null names are rejected at construction.

◆ Value

JsonNode GWG.WindowFramework.Theming.Json.JsonProperty.Value
getset

Gets the referenced mutable value node, not an independent clone.