Table of Contents

Class ContextNestedHierarchyExample.ObjectData

Namespace
KSP.Iteration.UI.Binding
Assembly
Assembly-CSharp.dll
public class ContextNestedHierarchyExample.ObjectData : ApiDataContext, IDisposable, IDataContext, IDataContextReadonly, IDataContextWritable
Inheritance
ContextNestedHierarchyExample.ObjectData
Implements
Inherited Members
Extension Methods

Constructors

ObjectData(string, ObjectData)

public ObjectData(string name, ContextNestedHierarchyExample.ObjectData parent = null)

Parameters

name string
parent ContextNestedHierarchyExample.ObjectData

Fields

children

[DataList("children")]
public ContextListProperty<ContextNestedHierarchyExample.ObjectData> children

Field Value

ContextListProperty<ContextNestedHierarchyExample.ObjectData>

haveChildren

[DataProperty("haveChildren")]
public PropertyReadonly<bool> haveChildren

Field Value

PropertyReadonly<bool>

haveParent

[DataProperty("haveParent")]
public PropertyReadonly<bool> haveParent

Field Value

PropertyReadonly<bool>

name

[DataProperty("name")]
public Property<string> name

Field Value

Property<string>

parent

[DataProperty("parent")]
public PropertyReadonly<ContextNestedHierarchyExample.ObjectData> parent

Field Value

PropertyReadonly<ContextNestedHierarchyExample.ObjectData>

Methods

DebugAddChild()

[DataAction("addChild")]
public void DebugAddChild()

DebugDeleteChild(int)

[DataAction("deleteChildAt")]
public void DebugDeleteChild(int index)

Parameters

index int

SetParent(ObjectData)

public void SetParent(ContextNestedHierarchyExample.ObjectData newParent)

Parameters

newParent ContextNestedHierarchyExample.ObjectData