private void Enable() { if (Interlocked.CompareExchange(ref _isInitialized, 1, 0) == 0) { _args = TSInteropMarshaller.Allocate <DragDropExtensionEventArgs>( "UnoStatic_Windows_ApplicationModel_DataTransfer_DragDrop_Core_DragDropExtension:enable", "UnoStatic_Windows_ApplicationModel_DataTransfer_DragDrop_Core_DragDropExtension:disable"); } else { throw new InvalidOperationException("Multiple DragDropExtension is not supported yet."); } }
static partial void InitializePointersStaticPartial() { _pointerEventArgs = TSInteropMarshaller.Allocate <NativePointerEventArgs>("UnoStatic_Windows_UI_Xaml_UIElement:setPointerEventArgs"); _pointerEventResult = TSInteropMarshaller.Allocate <NativePointerEventResult>("UnoStatic_Windows_UI_Xaml_UIElement:setPointerEventResult"); }