Gradient : API Documentation

Type PythonFunctionContainer

Namespace LostTech.Gradient

Parent PythonObjectContainer

Container for Python functions and Python representations of.NET delegates

Methods

Properties

Public static methods

PythonFunctionContainer GetPythonFunction<TModule>(string name)

Gets function by name from module

PythonFunctionContainer Of(Delegate delegate)

Wraps a Delegate into PythonFunctionContainer , allowing it to be passed to Python as a Python function object

PythonFunctionContainer Of<TResult>(Func<TResult> func)

Wraps a Func`1 into PythonFunctionContainer , allowing it to be passed to Python as a Python function object

PythonFunctionContainer Of<T, TResult>(Func<T, TResult> func)

Wraps a Func`2 into PythonFunctionContainer , allowing it to be passed to Python as a Python function object

PythonFunctionContainer Of<T1, T2, TResult>(Func<T1, T2, TResult> func)

Wraps a Func`3 into PythonFunctionContainer , allowing it to be passed to Python as a Python function object

PythonFunctionContainer Of<T1, T2, T3, TResult>(Func<T1, T2, T3, TResult> func)

Wraps a Func`4 into PythonFunctionContainer , allowing it to be passed to Python as a Python function object

Public properties

object PythonObject get;