Esempio n. 1
0
        static Application()
        {
            ApiInformation.RegisterAssembly(typeof(Application).Assembly);
            ApiInformation.RegisterAssembly(typeof(Windows.Storage.ApplicationData).Assembly);

            InitializePartialStatic();
        }
Esempio n. 2
0
        static Application()
        {
            ApiInformation.RegisterAssembly(typeof(Application).Assembly);
            ApiInformation.RegisterAssembly(typeof(Windows.Storage.ApplicationData).Assembly);

            Uno.DispatcherTimerHelper.SetDispatcherTimerGetter(() => new DispatcherTimer());

            InitializePartialStatic();
        }
Esempio n. 3
0
        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();
        }