Lean  $LEAN_TAG$
QuantConnect.Python.PythonActivator Class Reference

Provides methods for creating new instances of python custom data objects More...

Public Member Functions

 PythonActivator (Type type, PyObject value)
 Creates a new instance of PythonActivator More...
 

Properties

Type Type [get]
 System.Type of the object we wish to create More...
 
Func< object[], object > Factory [get]
 Method to return an instance of object More...
 

Detailed Description

Provides methods for creating new instances of python custom data objects

Definition at line 24 of file PythonActivator.cs.

Constructor & Destructor Documentation

◆ PythonActivator()

QuantConnect.Python.PythonActivator.PythonActivator ( Type  type,
PyObject  value 
)

Creates a new instance of PythonActivator

Parameters
typeSystem.Type of the object we wish to create
valuePyObject that contains the python type

Definition at line 41 of file PythonActivator.cs.

Property Documentation

◆ Type

Type QuantConnect.Python.PythonActivator.Type
get

System.Type of the object we wish to create

Definition at line 29 of file PythonActivator.cs.

◆ Factory

Func<object[], object> QuantConnect.Python.PythonActivator.Factory
get

Method to return an instance of object

Definition at line 34 of file PythonActivator.cs.


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