Mono.Events.CreateTextCompositionEventHandlerDispatcher C# (CSharp) Method

CreateTextCompositionEventHandlerDispatcher() public static method

public static CreateTextCompositionEventHandlerDispatcher ( TextCompositionEventHandler handler ) : UnmanagedEventHandler
handler TextCompositionEventHandler
return 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