Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }