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

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

            task.Execute(context);
        }