C# Class Python.Runtime.MethodWrapper

A MethodWrapper wraps a static method of a managed type, making it callable by Python as a PyCFunction object. This is currently used mainly to implement special cases like the CLR import hook.
Show file Open project: fkarb/pythonnet Class Usage Examples

Public Properties

Property Type Description
mdef System.IntPtr
ptr System.IntPtr

Public Methods

Method Description
Call ( IntPtr args, IntPtr kw ) : IntPtr
MethodWrapper ( Type type, string name ) : System

Method Details

Call() public method

public Call ( IntPtr args, IntPtr kw ) : IntPtr
args System.IntPtr
kw System.IntPtr
return System.IntPtr

MethodWrapper() public method

public MethodWrapper ( Type type, string name ) : System
type System.Type
name string
return System

Property Details

mdef public property

public IntPtr,System mdef
return System.IntPtr

ptr public property

public IntPtr,System ptr
return System.IntPtr