C# Class Python.Runtime.DelegateObject

Managed class that provides the implementation for reflected delegate types. Delegates are represented in Python by generated type objects. Each of those type objects is associated an instance of this class, which provides its implementation.
Inheritance: ClassBase
显示文件 Open project: pythonnet/pythonnet Class Usage Examples

Public Methods

Method Description
tp_call ( IntPtr ob, IntPtr args, IntPtr kw ) : IntPtr
tp_compare ( IntPtr ob, IntPtr other ) : int
tp_new ( IntPtr tp, IntPtr args, IntPtr kw ) : IntPtr
tp_richcompare ( IntPtr ob, IntPtr other, int op ) : IntPtr

Private Methods

Method Description
CanSubclass ( ) : bool
DelegateObject ( Type tp ) : System
GetTrueDelegate ( IntPtr op ) : Delegate

Method Details

tp_call() public static method

public static tp_call ( IntPtr ob, IntPtr args, IntPtr kw ) : IntPtr
ob System.IntPtr
args System.IntPtr
kw System.IntPtr
return System.IntPtr

tp_compare() public static method

public static tp_compare ( IntPtr ob, IntPtr other ) : int
ob System.IntPtr
other System.IntPtr
return int

tp_new() public static method

public static tp_new ( IntPtr tp, IntPtr args, IntPtr kw ) : IntPtr
tp System.IntPtr
args System.IntPtr
kw System.IntPtr
return System.IntPtr

tp_richcompare() public static method

public static tp_richcompare ( IntPtr ob, IntPtr other, int op ) : IntPtr
ob System.IntPtr
other System.IntPtr
op int
return System.IntPtr