OpenTAP 9.25
API Reference
|
Dynamic Member More...
Public Member Functions | |
DynamicMember () | |
Creates an instance of the dynamic member. | |
DynamicMember (DynamicMember @base) | |
This overload allows two DynamicMembers to share the same Get/Set value backing field. More... | |
virtual void | SetValue (object owner, object value) |
Sets the value of the member. | |
virtual object | GetValue (object owner) |
Gets the value of the member. | |
Static Public Member Functions | |
static void | AddDynamicMember (object target, IMemberData member) |
Adds a dynamic member to the object. | |
static void | RemoveDynamicMember (object target, IMemberData member) |
Removes a dynamic member to the object. | |
Properties | |
virtual IEnumerable< object > | Attributes = Array.Empty<object>() [getset] |
Attributes | |
string | Name [getset] |
Name of the member | |
ITypeData | DeclaringType [getset] |
Declaring type. This should be the type of the target object. | |
ITypeData | TypeDescriptor [getset] |
Describes the value of the member. | |
bool | Writable [getset] |
If the member is writable. | |
bool | Readable [getset] |
If the member is readable. This should generally be true. | |
object | DefaultValue [getset] |
The default value of the member. | |
Properties inherited from OpenTap.IMemberData | |
ITypeData | DeclaringType [get] |
The type on which this member is declared. | |
ITypeData | TypeDescriptor [get] |
The underlying type of this member. | |
bool | Writable [get] |
Gets if this member is writable. | |
bool | Readable [get] |
Gets if this member is readable. | |
Properties inherited from OpenTap.IReflectionData | |
IEnumerable< object > | Attributes [get] |
The attributes of it. | |
string | Name [get] |
The name of it. | |
Dynamic Member
|
inline |
This overload allows two DynamicMembers to share the same Get/Set value backing field.
base |
OpenTAP 9.25 API built Tue Aug 6 2024 07:49:23