Beispiel #1
0
        void IPlatformAppLauncher.Initialize(HostConfigurationStore configStore, IDeviceAppLauncherEventCallback eventCallback)
        {
            if (configStore == null)
            {
                throw new ArgumentNullException("configStore");
            }
            if (eventCallback == null)
            {
                throw new ArgumentNullException("eventCallback");
            }

            _eventCallback = eventCallback;
            RegistryRoot.Set(configStore.RegistryRoot);
        }
Beispiel #2
0
        void IPlatformAppLauncher.Initialize(string registryRoot, IDeviceAppLauncherEventCallback eventCallback)
        {
            if (string.IsNullOrEmpty(registryRoot))
            {
                throw new ArgumentNullException("registryRoot");
            }
            if (eventCallback == null)
            {
                throw new ArgumentNullException("eventCallback");
            }

            _eventCallback = eventCallback;
            RegistryRoot.Set(registryRoot);
        }
Beispiel #3
0
        void IPlatformAppLauncher.Initialize(HostConfigurationStore configStore, IDeviceAppLauncherEventCallback eventCallback)
        {
            if (configStore == null)
            {
                throw new ArgumentNullException(nameof(configStore));
            }
            if (eventCallback == null)
            {
                throw new ArgumentNullException(nameof(eventCallback));
            }

            _eventCallback = eventCallback;
            RegistryRoot.Set(configStore.RegistryRoot);
            Logger = MICore.Logger.EnsureInitialized(configStore);
        }