public static void Execute(
            IScriptExecutionEnvironment environment,
            RegistryKey rootKey,
            string registryKeyPath,
            string registryValueName,
            object registryValueValue)
        {
            EditRegistryValueTask task = new EditRegistryValueTask(
                rootKey,
                registryKeyPath,
                registryValueName,
                registryValueValue);

            task.Execute(environment);
        }
Exemple #2
0
        public static void Execute(
            ITaskContext context,
            RegistryKey rootKey,
            string registryKeyPath,
            string registryValueName,
            object registryValueValue)
        {
            EditRegistryValueTask task = new EditRegistryValueTask(
                rootKey,
                registryKeyPath,
                registryValueName,
                registryValueValue);

            task.Execute(context);
        }