Python.Runtime.DelegateManager.GetPythonHandle C# (CSharp) Method

GetPythonHandle() public static method

public static GetPythonHandle ( Delegate d ) : IntPtr
d System.Delegate
return System.IntPtr
	public static IntPtr GetPythonHandle(Delegate d) {
	    if ((d != null) && (d.Target is Dispatcher)) {
		Dispatcher disp = d.Target as Dispatcher;
		return disp.target;
	    }
	    return IntPtr.Zero;
	}