Nitro Objects are used when the type of something cannot be computed or when prototype is in use. These are essentially flexible objects.
Public Member Functions | |
| NitroObject (object underObject) | |
| Creates a new NitroObject. More... | |
| NitroObject (MemberInfo member, object underObject) | |
| object | GetValue () |
| Gets the value of this object. More... | |
| void | SetValue (object value) |
| Sets the value of this object. More... | |
| virtual object | Run (params object[] arguments) |
| Executes this as a dynamic method with the given arguments. More... | |
Public Attributes | |
| object | UnderlayObject |
| The underlying object if there is one. More... | |
Properties | |
| object | this[string name] [get, set] |
| Gets/ sets entities from this object. The heart of the More... | |
Private Attributes | |
| Type | ObjectType |
| The underlaying object type. More... | |
| MemberInfo | Member |
| E.g. fieldinfo for the underlying object. More... | |
| Dictionary< string, NitroObject > | PrototypeMap |
| The underlying prototype map for this object. More... | |
|
inline |
Creates a new NitroObject.
| underObject | The underlying object, if any. |
|
inline |
|
inline |
Gets the value of this object.
|
inlinevirtual |
Executes this as a dynamic method with the given arguments.
| arguments | The arguments to pass to the method. |
|
inline |
Sets the value of this object.
|
private |
E.g. fieldinfo for the underlying object.
|
private |
The underlaying object type.
|
private |
The underlying prototype map for this object.
| object Nitro.NitroObject.UnderlayObject |
The underlying object if there is one.
|
getset |
Gets/ sets entities from this object. The heart of the