public static void Execute( IScriptExecutionEnvironment environment, string directoryPath, bool failIfNotExists) { DeleteDirectoryTask task = new DeleteDirectoryTask(directoryPath, failIfNotExists); task.Execute(environment); }
public static void Execute( ITaskContext context, string directoryPath, bool failIfNotExists) { DeleteDirectoryTask task = new DeleteDirectoryTask(directoryPath, failIfNotExists); task.Execute(context); }