Kerbal Space Program
1.12.4
|
This class handles and array of BaseFields attributes of a single object. More...
Classes | |
class | ReflectedData |
Public Member Functions | |
void | Add (R element) |
BaseFieldList () | |
BaseFieldList (object host) | |
BaseFieldList (object host, bool ignoreUIControl) | |
List< R >.Enumerator | GetEnumerator () |
object | GetValue (string fieldName) |
T | GetValue< T > (string fieldName) |
void | SetOriginalValue () |
bool | SetValue (string fieldName, object value) |
bool | SetValue< T > (string fieldName, T value) |
Protected Member Functions | |
virtual void | CreateList (object instance) |
Static Protected Member Functions | |
static ReflectedData | GetReflectedAttributes (System.Type type, bool ignoreUIControl) |
Protected Attributes | |
List< R > | _fields |
object | host |
bool | ignoreUIControlWhenCreatingReflectedData |
Static Protected Attributes | |
static KSPUtil.ObjectActivator< R > | ObjectActivatorLambdaExpression = null |
static Dictionary< System.Type, ReflectedData > | reflectedAttributeCache = new Dictionary<System.Type, ReflectedData>() |
Properties | |
int | Count [get] |
System.Type | ReflectedType [get] |
R | this[int index] [get, set] |
R | this[string fieldName] [get] |
This class handles and array of BaseFields attributes of a single object.
R | Type of the BaseField to be returned |
K | Type of the KSPField attribute to be handled |
R | : | BaseField<K> | |
K | : | FieldAttribute |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
get |
|
get |
|
getset |
|
get |