Mono.Events.CreateClosingEventArgsEventHandlerDispatcher C# (CSharp) Méthode

CreateClosingEventArgsEventHandlerDispatcher() public static méthode

public static CreateClosingEventArgsEventHandlerDispatcher ( EventHandler handler ) : UnmanagedEventHandler
handler EventHandler
Résultat UnmanagedEventHandler
		public static UnmanagedEventHandler CreateClosingEventArgsEventHandlerDispatcher (EventHandler <ClosingEventArgs> handler)
		{
			return SafeDispatcher ( (sender, calldata, closure)
						=> handler(NativeDependencyObjectHelper.FromIntPtr (closure),
								new ClosingEventArgs ()) );
		}
Events