public static UnmanagedEventHandler CreateNotifyEventHandlerDispatcher (NotifyEventHandler handler) { return SafeDispatcher( (sender, calldata, closure) => handler (NativeDependencyObjectHelper.FromIntPtr (closure), new NotifyEventArgs ()) ); }