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); }
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); }