Table of Contents

Class ModuleProperty<T>

Namespace
KSP.Sim.Definitions
Assembly
Assembly-CSharp.dll
public class ModuleProperty<T> : Property<T>, IPropertyEnumValues, IPropertyWritable<T>, IProperty<T>, IModuleProperty, IPropertyWritable, IProperty, IModuleDataContext

Type Parameters

T
Inheritance
ModuleProperty<T>
Implements
Inherited Members
Extension Methods

Constructors

ModuleProperty(T)

public ModuleProperty(T initialValue)

Parameters

initialValue T

ModuleProperty(T, ToStringDelegate)

public ModuleProperty(T initialValue, ToStringDelegate toStringDelegate)

Parameters

initialValue T
toStringDelegate ToStringDelegate

ModuleProperty(T, bool)

public ModuleProperty(T initialValue, bool isReadOnly)

Parameters

initialValue T
isReadOnly bool

ModuleProperty(T, bool, ToStringDelegate)

public ModuleProperty(T initialValue, bool isReadOnly, ToStringDelegate toStringDelegate)

Parameters

initialValue T
isReadOnly bool
toStringDelegate ToStringDelegate

ModuleProperty(T, Func<T, T>, bool, ToStringDelegate)

public ModuleProperty(T initialValue, Func<T, T> validator, bool isReadOnly, ToStringDelegate toStringDelegate)

Parameters

initialValue T
validator Func<T, T>
isReadOnly bool
toStringDelegate ToStringDelegate

Properties

ContextKey

public string ContextKey { get; set; }

Property Value

string

IsReadOnly

public bool IsReadOnly { get; }

Property Value

bool

ToStringDelegate

public ToStringDelegate ToStringDelegate { get; }

Property Value

ToStringDelegate

Methods

GetContextKey()

public string GetContextKey()

Returns

string