diff --git a/cpp/Platform.IO/FileHelpers.h b/cpp/Platform.IO/FileHelpers.h
index e9401ba..b567c26 100644
--- a/cpp/Platform.IO/FileHelpers.h
+++ b/cpp/Platform.IO/FileHelpers.h
@@ -69,13 +69,13 @@
}
}
- public: static void DeleteAll(std::string directory) { DeleteAll(directory, "*"); }
+ public: static void DeleteAll(std::string path) { DeleteAll(path, "*"); }
- public: static void DeleteAll(std::string directory, std::string searchPattern) { DeleteAll(directory, searchPattern, SearchOption.TopDirectoryOnly); }
+ public: static void DeleteAll(std::string path, std::string searchPattern) { DeleteAll(path, searchPattern, SearchOption.TopDirectoryOnly); }
- public: static void DeleteAll(std::string directory, std::string searchPattern, SearchOption searchOption)
+ public: static void DeleteAll(std::string path, std::string searchPattern, SearchOption searchOption)
{
- foreach (auto file in Directory.EnumerateFiles(directory, searchPattern, searchOption))
+ foreach (auto file in Directory.EnumerateFiles(path, searchPattern, searchOption))
{
File.Delete(file);
}
diff --git a/csharp/Platform.IO/FileHelpers.cs b/csharp/Platform.IO/FileHelpers.cs
index fd412a3..9bca9bc 100644
--- a/csharp/Platform.IO/FileHelpers.cs
+++ b/csharp/Platform.IO/FileHelpers.cs
@@ -199,51 +199,51 @@ public static void SetSize(string path, long size)
}
///
- /// Removes all files from the directory at the path .
- /// Удаляет все файлы из директории находящейся по пути .
+ /// Removes all files from the directory at the path .
+ /// Удаляет все файлы из директории находящейся по пути .
///
- ///
+ ///
/// The path to the directory to be cleaned.
/// Путь к директории для очистки.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- public static void DeleteAll(string directory) => DeleteAll(directory, "*");
+ public static void DeleteAll(string path) => DeleteAll(path, "*");
///
- /// Removes files from the directory at the path according to the .
- /// Удаляет файлы из директории находящейся по пути в соотвествии с .
+ /// Removes files from the directory at the path .
+ /// Удаляет файлы из директории находящейся по пути .
///
- ///
+ ///
/// The path to the directory to be cleaned.
/// Путь к директории для очистки.
///
///
- /// The search pattern for files to be deleted in the directory at the path .
- /// Шаблон поиска для удаляемых файлов в директории находящейся по пути .
+ /// The search pattern for files to be deleted in the directory at the path .
+ /// Шаблон поиска для удаляемых файлов в директории находящейся по пути .
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- public static void DeleteAll(string directory, string searchPattern) => DeleteAll(directory, searchPattern, SearchOption.TopDirectoryOnly);
+ public static void DeleteAll(string path, string searchPattern) => DeleteAll(path, searchPattern, SearchOption.TopDirectoryOnly);
///
- /// Removes files from the directory at the path according to the and the .
- /// Удаляет файлы из директории находящейся по пути в соотвествии с и .
+ /// Removes files from the directory at the path .
+ /// Удаляет файлы из директории находящейся по пути .
///
- ///
+ ///
/// The path to the directory to be cleaned.
/// Путь к директории для очистки.
///
///
- /// The search pattern for files to be deleted in the directory at the path .
- /// Шаблон поиска для удаляемых файлов в директории находящейся по пути .
+ /// The search pattern for files to be deleted in the directory at the path .
+ /// Шаблон поиска для удаляемых файлов в директории находящейся по пути .
///
///
- /// The value that determines whether to search only in the current the directory at the path , or also in all subdirectories.
- /// Значение определяющее искать ли только в текущей директории находящейся по пути , или также во всех субдиректориях.
+ /// The value that determines whether to search only in the current directory at the path , or also in all subdirectories.
+ /// Значение определяющее искать ли только в текущей директории находящейся по пути , или также во всех субдиректориях.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- public static void DeleteAll(string directory, string searchPattern, SearchOption searchOption)
+ public static void DeleteAll(string path, string searchPattern, SearchOption searchOption)
{
- foreach (var file in Directory.EnumerateFiles(directory, searchPattern, searchOption))
+ foreach (var file in Directory.EnumerateFiles(path, searchPattern, searchOption))
{
File.Delete(file);
}