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

CreateTextCompositionEventHandlerDispatcher() public static méthode

public static CreateTextCompositionEventHandlerDispatcher ( TextCompositionEventHandler handler ) : UnmanagedEventHandler
handler TextCompositionEventHandler
Résultat UnmanagedEventHandler
		public static UnmanagedEventHandler CreateTextCompositionEventHandlerDispatcher (TextCompositionEventHandler handler)
		{
			return SafeDispatcher( (sender, calldata, closure)
						=> handler (NativeDependencyObjectHelper.FromIntPtr (closure),
								NativeDependencyObjectHelper.FromIntPtr (calldata) as TextCompositionEventArgs ?? new TextCompositionEventArgs (calldata, false)) );
		}
Events