Python.Runtime.DelegateObject.GetTrueDelegate C# (CSharp) Method

GetTrueDelegate() private static method

private static GetTrueDelegate ( IntPtr op ) : Delegate
op System.IntPtr
return System.Delegate
        private static Delegate GetTrueDelegate(IntPtr op)
        {
            CLRObject o = GetManagedObject(op) as CLRObject;
            if (o != null)
            {
                Delegate d = o.inst as Delegate;
                return d;
            }
            return null;
        }