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