Mono.Events.CreateTextCompositionEventHandlerDispatcher C# (CSharp) 메소드

CreateTextCompositionEventHandlerDispatcher() 공개 정적인 메소드

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