_ExpressionBuilder_MakePropertyOrFieldSelector
QuantConnect.Util._ExpressionBuilder_MakePropertyOrFieldSelector
__call__
__call__(type: Type, property_or_field: str) -> Any
Constructs a selector of the form: x => x.property_or_field where x is an instance of 'type'
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type
|
Type
|
The type of the parameter in the expression |
required |
property_or_field
|
str
|
The name of the property or field to bind to |
required |
Returns:
| Type | Description |
|---|---|
Any
|
A new lambda expression that represents accessing the property or field on 'type'. |
__getitem__
__getitem__(
type: Type[
QuantConnect_Util_ExpressionBuilder_MakePropertyOrFieldSelector_T
],
) -> _Typed_ExpressionBuilder_MakePropertyOrFieldSelector[
QuantConnect_Util_ExpressionBuilder_MakePropertyOrFieldSelector_T
]