Lean  $LEAN_TAG$
QuantConnect.Data.GetSetPropertyDynamicMetaObject Class Reference

Provides an implementation of DynamicMetaObject that uses get/set methods to update values in the dynamic object. More...

Inheritance diagram for QuantConnect.Data.GetSetPropertyDynamicMetaObject:
[legend]

Public Member Functions

 GetSetPropertyDynamicMetaObject (Expression expression, object value, MethodInfo setPropertyMethodInfo, MethodInfo getPropertyMethodInfo)
 Initializes a new instance of the T:QuantConnect.Data.GetSetPropertyDynamicMetaObject class. More...
 
override DynamicMetaObject BindSetMember (SetMemberBinder binder, DynamicMetaObject value)
 Performs the binding of the dynamic set member operation. More...
 
override DynamicMetaObject BindGetMember (GetMemberBinder binder)
 Performs the binding of the dynamic get member operation. More...
 

Detailed Description

Provides an implementation of DynamicMetaObject that uses get/set methods to update values in the dynamic object.

Definition at line 26 of file GetSetPropertyDynamicMetaObject.cs.

Constructor & Destructor Documentation

◆ GetSetPropertyDynamicMetaObject()

QuantConnect.Data.GetSetPropertyDynamicMetaObject.GetSetPropertyDynamicMetaObject ( Expression  expression,
object  value,
MethodInfo  setPropertyMethodInfo,
MethodInfo  getPropertyMethodInfo 
)

Initializes a new instance of the T:QuantConnect.Data.GetSetPropertyDynamicMetaObject class.

Parameters
expressionThe expression representing this T:System.Dynamic.DynamicMetaObject
valueThe value represented by the T:System.Dynamic.DynamicMetaObject
setPropertyMethodInfoThe set method to use for updating this dynamic object
getPropertyMethodInfoThe get method to use for updating this dynamic object

Definition at line 38 of file GetSetPropertyDynamicMetaObject.cs.

Member Function Documentation

◆ BindSetMember()

override DynamicMetaObject QuantConnect.Data.GetSetPropertyDynamicMetaObject.BindSetMember ( SetMemberBinder  binder,
DynamicMetaObject  value 
)

Performs the binding of the dynamic set member operation.

Parameters
binderAn instance of the T:System.Dynamic.SetMemberBinder that represents the details of the dynamic operation.
valueThe T:System.Dynamic.DynamicMetaObject representing the value for the set member operation.
Returns
The new T:System.Dynamic.DynamicMetaObject representing the result of the binding.

Definition at line 56 of file GetSetPropertyDynamicMetaObject.cs.

◆ BindGetMember()

override DynamicMetaObject QuantConnect.Data.GetSetPropertyDynamicMetaObject.BindGetMember ( GetMemberBinder  binder)

Performs the binding of the dynamic get member operation.

Parameters
binderAn instance of the T:System.Dynamic.GetMemberBinder that represents the details of the dynamic operation.
Returns
The new T:System.Dynamic.DynamicMetaObject representing the result of the binding.

Definition at line 81 of file GetSetPropertyDynamicMetaObject.cs.


The documentation for this class was generated from the following file: