static Application() { ApiInformation.RegisterAssembly(typeof(Application).Assembly); ApiInformation.RegisterAssembly(typeof(Windows.Storage.ApplicationData).Assembly); InitializePartialStatic(); }
static Application() { ApiInformation.RegisterAssembly(typeof(Application).Assembly); ApiInformation.RegisterAssembly(typeof(Windows.Storage.ApplicationData).Assembly); Uno.DispatcherTimerHelper.SetDispatcherTimerGetter(() => new DispatcherTimer()); InitializePartialStatic(); }
static Application() { ApiInformation.RegisterAssembly(typeof(Application).Assembly); ApiInformation.RegisterAssembly(typeof(Windows.Storage.ApplicationData).Assembly); Uno.Helpers.DispatcherTimerProxy.SetDispatcherTimerGetter(() => new DispatcherTimer()); Uno.Helpers.VisualTreeHelperProxy.SetCloseAllFlyoutsAction(() => Media.VisualTreeHelper.CloseAllFlyouts()); InitializePartialStatic(); }