28 references to InvokeLifecycleEvents
Microsoft.Maui (28)
Platform\iOS\ApplicationExtensions.cs (1)
114 applicationContext.Services?.InvokeLifecycleEvents<iOSLifecycle.OnMauiContextCreated>(del => del(mauiContext));
Platform\iOS\MauiUIApplicationDelegate.cs (13)
53 _services?.InvokeLifecycleEvents<iOSLifecycle.WillFinishLaunching>(del => del(application, launchOptions)); 71 _services?.InvokeLifecycleEvents<iOSLifecycle.OnPlatformWindowCreated>(del => del(Window)); 74 _services?.InvokeLifecycleEvents<iOSLifecycle.FinishedLaunching>(del => del(application!, launchOptions!)); 97 _services?.InvokeLifecycleEvents<iOSLifecycle.PerformActionForShortcutItem>(del => del(application, shortcutItem, completionHandler)); 105 _services?.InvokeLifecycleEvents<iOSLifecycle.OpenUrl>(del => 118 _services?.InvokeLifecycleEvents<iOSLifecycle.ContinueUserActivity>(del => 129 _services?.InvokeLifecycleEvents<iOSLifecycle.OnActivated>(del => del(application)); 135 _services?.InvokeLifecycleEvents<iOSLifecycle.OnResignActivation>(del => del(application)); 141 _services?.InvokeLifecycleEvents<iOSLifecycle.WillTerminate>(del => del(application)); 147 _services?.InvokeLifecycleEvents<iOSLifecycle.DidEnterBackground>(del => del(application)); 153 _services?.InvokeLifecycleEvents<iOSLifecycle.WillEnterForeground>(del => del(application)); 159 _services?.InvokeLifecycleEvents<iOSLifecycle.ApplicationSignificantTimeChange>(del => del(application)); 165 _services?.InvokeLifecycleEvents<iOSLifecycle.PerformFetch>(del => del(application, completionHandler));
Platform\iOS\MauiUISceneDelegate.cs (14)
20 IPlatformApplication.Current?.Services?.InvokeLifecycleEvents<iOSLifecycle.SceneWillConnect>(del => del(scene, session, connectionOptions)); 27 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.OnPlatformWindowCreated>(del => del(Window)); 34 IPlatformApplication.Current?.Services?.InvokeLifecycleEvents<iOSLifecycle.SceneDidDisconnect>(del => del(scene)); 74 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneWillEnterForeground>(del => del(scene)); 78 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneOnActivated>(del => del(scene)); 82 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneOnResignActivation>(del => del(scene)); 86 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneDidEnterBackground>(del => del(scene)); 93 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneOpenUrl>(del => 106 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneContinueUserActivity>(del => 116 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneWillContinueUserActivity>(del => del(scene, userActivityType)); 120 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneDidFailToContinueUserActivity>(del => del(scene, userActivityType, error)); 124 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneDidUpdateUserActivity>(del => del(scene, userActivity)); 131 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.SceneRestoreInteractionState>(del => del(scene, stateRestorationActivity)); 139 GetServiceProvider()?.InvokeLifecycleEvents<iOSLifecycle.WindowSceneDidUpdateCoordinateSpace>(del => del(windowScene, previousCoordinateSpace, previousInterfaceOrientation, previousTraitCollection));