Table of Contents

Class ContextBindRoot

Namespace
KSP.UI.Binding
Assembly
Assembly-CSharp.dll
public class ContextBindRoot : MonoBehaviour, IUIDataContextProvider, IDataContextProvider
Inheritance
ContextBindRoot
Implements
Derived
Extension Methods

Constructors

ContextBindRoot()

public ContextBindRoot()

Fields

context

protected DataContext context

Field Value

DataContext

Properties

Context

public IDataContextReadonly Context { get; }

Property Value

IDataContextReadonly

Methods

BindContext(IDataContextReadonly)

public virtual void BindContext(IDataContextReadonly parentContext)

Parameters

parentContext IDataContextReadonly

DebugContextToString(bool, bool, bool, bool, bool)

public string DebugContextToString(bool showParentHierarchy = false, bool showSubContexts = false, bool showListContent = false, bool printKeysCompact = true, bool showExpandedKeyValues = true)

Parameters

showParentHierarchy bool
showSubContexts bool
showListContent bool
printKeysCompact bool
showExpandedKeyValues bool

Returns

string

RequestForModifications(out IDataContext)

public bool RequestForModifications(out IDataContext writableContext)

Parameters

writableContext IDataContext

Returns

bool

Events

OnValidateNextUpdate

protected event Action OnValidateNextUpdate

Event Type

Action