Interface IDataContextReadonly
- Namespace
- KSP.Api
- Assembly
- Assembly-CSharp.dll
public interface IDataContextReadonly
- Extension Methods
-
Properties
ActionCount
Property Value
- int
Actions
IReadOnlyDictionary<string, IAction> Actions { get; }
Property Value
- IReadOnlyDictionary<string, IAction>
IsDisposed
Property Value
- bool
Labels
IReadOnlyDictionary<string, string> Labels { get; }
Property Value
- IReadOnlyDictionary<string, string>
ListCount
Property Value
- int
Lists
IReadOnlyDictionary<string, IContextListProperty> Lists { get; }
Property Value
- IReadOnlyDictionary<string, IContextListProperty>
NumberRanges
IReadOnlyDictionary<string, UIValueNumberRange> NumberRanges { get; }
Property Value
- IReadOnlyDictionary<string, UIValueNumberRange>
Properties
IReadOnlyDictionary<string, IProperty> Properties { get; }
Property Value
- IReadOnlyDictionary<string, IProperty>
PropertyCount
int PropertyCount { get; }
Property Value
- int
StackActionCount
int StackActionCount { get; }
Property Value
- int
StackListCount
int StackListCount { get; }
Property Value
- int
StackPropertyCount
int StackPropertyCount { get; }
Property Value
- int
StackSubContextCount
int StackSubContextCount { get; }
Property Value
- int
SubContextCount
int SubContextCount { get; }
Property Value
- int
SubContexts
IReadOnlyDictionary<string, IDataContextReadonly> SubContexts { get; }
Property Value
- IReadOnlyDictionary<string, IDataContextReadonly>
ToStringDelegates
IReadOnlyDictionary<string, ToStringDelegate> ToStringDelegates { get; }
Property Value
- IReadOnlyDictionary<string, ToStringDelegate>
Methods
GetActionKeys(ISet<string>, bool)
void GetActionKeys(ISet<string> target, bool searchStack = true)
Parameters
target ISet<string>
searchStack bool
GetDebugHierarchyChain()
string GetDebugHierarchyChain()
Returns
- string
GetDebugName()
Returns
- string
GetDebugStackChain()
string GetDebugStackChain()
Returns
- string
GetHierarchyParent(bool)
IDataContextReadonly GetHierarchyParent(bool searchStack = true)
Parameters
searchStack bool
Returns
- IDataContextReadonly
GetLabelKeys(ISet<string>, bool)
void GetLabelKeys(ISet<string> target, bool searchStack = true)
Parameters
target ISet<string>
searchStack bool
GetListKeys(ISet<string>, bool)
void GetListKeys(ISet<string> target, bool searchStack = true)
Parameters
target ISet<string>
searchStack bool
GetNumberRangeKeys(ISet<string>, bool)
void GetNumberRangeKeys(ISet<string> target, bool searchStack = true)
Parameters
target ISet<string>
searchStack bool
GetPropertyKeys(ISet<string>, bool)
void GetPropertyKeys(ISet<string> target, bool searchStack = true)
Parameters
target ISet<string>
searchStack bool
GetStackParent()
IDataContextReadonly GetStackParent()
Returns
- IDataContextReadonly
GetSubContextKeys(ISet<string>, bool)
void GetSubContextKeys(ISet<string> target, bool searchStack = true)
Parameters
target ISet<string>
searchStack bool
GetToStringDelegateKeys(ISet<string>, bool)
void GetToStringDelegateKeys(ISet<string> target, bool searchStack = true)
Parameters
target ISet<string>
searchStack bool
TryResolveAction(string, out IAction, bool)
bool TryResolveAction(string keyPath, out IAction action, bool searchStack = true)
Parameters
keyPath string
action IAction
searchStack bool
Returns
- bool
TryResolveLabel(string, out string, bool)
bool TryResolveLabel(string keyPath, out string label, bool searchStack = true)
Parameters
keyPath string
label string
searchStack bool
Returns
- bool
TryResolveList(string, out IContextListProperty, bool)
bool TryResolveList(string keyPath, out IContextListProperty list, bool searchStack = true)
Parameters
keyPath string
list IContextListProperty
searchStack bool
Returns
- bool
TryResolveNumberRange(string, out UIValueNumberRange, bool)
bool TryResolveNumberRange(string keyPath, out UIValueNumberRange valueRange, bool searchStack = true)
Parameters
keyPath string
valueRange UIValueNumberRange
searchStack bool
Returns
- bool
TryResolvePathHierarchy(string, out IDataContextReadonly, out string)
bool TryResolvePathHierarchy(string keyPath, out IDataContextReadonly hierarchyContext, out string keyLocal)
Parameters
keyPath string
hierarchyContext IDataContextReadonly
keyLocal string
Returns
- bool
TryResolveProperty(string, out IProperty, bool)
bool TryResolveProperty(string keyPath, out IProperty property, bool searchStack = true)
Parameters
keyPath string
property IProperty
searchStack bool
Returns
- bool
TryResolveSubContext(string, out IDataContextReadonly, bool, bool)
bool TryResolveSubContext(string keyPath, out IDataContextReadonly subContext, bool searchStack = true, bool wrapStackResult = true)
Parameters
keyPath string
subContext IDataContextReadonly
searchStack bool
wrapStackResult bool
Returns
- bool
TryResolveToStringDelegate(string, out ToStringDelegate, bool)
bool TryResolveToStringDelegate(string keyPath, out ToStringDelegate toStringDelegate, bool searchStack = true)
Parameters
keyPath string
toStringDelegate ToStringDelegate
searchStack bool
Returns
- bool
Events
ContextChanged
event Action<IDataContextReadonly> ContextChanged
Event Type
- Action<IDataContextReadonly>
ContextMetadataChanged
event Action<IDataContextReadonly> ContextMetadataChanged
Event Type
- Action<IDataContextReadonly>