internal static void can_get_cookie(IntPtr gcHandlePtr, out int __retval, IntPtr cookie) { var self = (CfxResourceHandler)System.Runtime.InteropServices.GCHandle.FromIntPtr(gcHandlePtr).Target; if (self == null || self.CallbacksDisabled) { __retval = default(int); return; } var e = new CfxCanGetCookieEventArgs(cookie); self.m_CanGetCookie?.Invoke(self, e); e.m_isInvalid = true; __retval = e.m_returnValue ? 1 : 0; }
private void PackUriResourceHandler_CanGetCookie(object sender, CfxCanGetCookieEventArgs e) { e.SetReturnValue(true); }