Exemplo n.º 1
0
        public static void Execute(
            IScriptExecutionEnvironment environment,
            RegistryKey rootKey,
            string registryKeyPath,
            string registryValueName,
            string configurationSettingName)
        {
            GetRegistryValueTask task = new GetRegistryValueTask(
                rootKey,
                registryKeyPath,
                registryValueName,
                configurationSettingName);

            task.Execute(environment);
        }
Exemplo n.º 2
0
        public static void Execute(
            ITaskContext context,
            RegistryKey rootKey,
            string registryKeyPath,
            string registryValueName,
            string configurationSettingName)
        {
            GetRegistryValueTask task = new GetRegistryValueTask(
                rootKey,
                registryKeyPath,
                registryValueName,
                configurationSettingName);

            task.Execute(context);
        }