public ContextLinkageServiceImpl(IRegistryProvider appRegistryProvider, IAppLifecycleManager appLifecycleManager, IAppLaunchedEventProvider appLaunchedEventProvider) { _appRegistryProvider = appRegistryProvider; _appLifecycleManager = appLifecycleManager; _contextsSet = new ContextsSet(appLifecycleManager); appLaunchedEventProvider.AppLaunchedStream.Subscribe(OnAppLaunched); appLifecycleManager.ConnectionEventsStream.Subscribe(OnAppConnectedOrDisconnected); }