Struct ValueAccessor
- Namespace
- Lime
- Assembly
- Lime.dll
public readonly struct ValueAccessor
- Inherited Members
-
Constructors
ValueAccessor(MemberInfo)
public ValueAccessor(MemberInfo memberInfo)
Parameters
memberInfo
MemberInfo
ValueAccessor(MemberInfo, object[])
public ValueAccessor(MemberInfo memberInfo, object[] indexArguments)
Parameters
memberInfo
MemberInfo
indexArguments
object[]
Properties
IndexArguments
public object[] IndexArguments { get; }
Property Value
- object[]
IsValueMember
public bool IsValueMember { get; }
Property Value
- bool
IsYuzuField
public bool IsYuzuField { get; }
Property Value
- bool
MemberInfo
public MemberInfo MemberInfo { get; }
Property Value
- MemberInfo
Name
public string Name { get; }
Property Value
- string
Type
public Type Type { get; }
Property Value
- Type
Methods
GetAttribute<T>(bool)
public T GetAttribute<T>(bool inherit = false) where T : Attribute
Parameters
inherit
bool
Returns
- T
Type Parameters
T
GetValue(object)
public object GetValue(object o)
Parameters
o
object
Returns
- object
SetValue(object, object)
public void SetValue(object o, object value)
Parameters
o
object
value
object