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