Пример #1
0
        public static void Execute(
            IScriptExecutionEnvironment environment,
            string directoryPath,
            bool failIfNotExists)
        {
            DeleteDirectoryTask task = new DeleteDirectoryTask(directoryPath, failIfNotExists);

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

            task.Execute(context);
        }