mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 19:21:10 +00:00
Standardizes boolean naming across the stack
This commit is contained in:
1 parent
6bd0cf6d42
commit
37dff6039d
78 files changed
+252
-252
No files matched your search
+3
-3
@@ -20,15 +20,15 @@ public class GetDirectoriesRequestFixture
|
||||
/// Creates a <see cref="GetDirectoriesRequest"/> with default or random values.
|
||||
/// </summary>
|
||||
/// <param name="path">Optional. The file system path for which to get the directories.</param>
|
||||
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="shouldIncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <returns>The created <see cref="GetDirectoriesRequest"/>.</returns>
|
||||
public GetDirectoriesRequest Create(
|
||||
string? path = null,
|
||||
bool? includeHiddenElements = null)
|
||||
bool? shouldIncludeHiddenElements = null)
|
||||
{
|
||||
return new GetDirectoriesRequest(
|
||||
Path: path ?? _faker.System.FilePath(),
|
||||
IncludeHiddenElements: includeHiddenElements ?? _faker.Random.Bool()
|
||||
ShouldIncludeHiddenElements: shouldIncludeHiddenElements ?? _faker.Random.Bool()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -20,15 +20,15 @@ public class GetFilesRequestFixture
|
||||
/// Creates a <see cref="GetFilesRequest"/> with default or random values.
|
||||
/// </summary>
|
||||
/// <param name="path">Optional. The file system path for which to get the files.</param>
|
||||
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="shouldIncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <returns>The created <see cref="GetFilesRequest"/>.</returns>
|
||||
public GetFilesRequest Create(
|
||||
string? path = null,
|
||||
bool? includeHiddenElements = null)
|
||||
bool? shouldIncludeHiddenElements = null)
|
||||
{
|
||||
return new GetFilesRequest(
|
||||
Path: path ?? _faker.System.FilePath(),
|
||||
IncludeHiddenElements: includeHiddenElements ?? _faker.Random.Bool()
|
||||
ShouldIncludeHiddenElements: shouldIncludeHiddenElements ?? _faker.Random.Bool()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -20,15 +20,15 @@ public class GetTreeFilesRequestFixture
|
||||
/// Creates a <see cref="GetTreeFilesRequest"/> with default or random values.
|
||||
/// </summary>
|
||||
/// <param name="path">Optional. The file system path for which to get the tree files.</param>
|
||||
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="shouldIncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <returns>The created <see cref="GetTreeFilesRequest"/>.</returns>
|
||||
public GetTreeFilesRequest Create(
|
||||
string? path = null,
|
||||
bool? includeHiddenElements = null)
|
||||
bool? shouldIncludeHiddenElements = null)
|
||||
{
|
||||
return new GetTreeFilesRequest(
|
||||
Path: path ?? _faker.System.FilePath(),
|
||||
IncludeHiddenElements: includeHiddenElements ?? _faker.Random.Bool()
|
||||
ShouldIncludeHiddenElements: shouldIncludeHiddenElements ?? _faker.Random.Bool()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -20,15 +20,15 @@ public class CheckPathExistsRequestFixture
|
||||
/// Creates a <see cref="CheckPathExistsRequest"/> with default or random values.
|
||||
/// </summary>
|
||||
/// <param name="path">Optional. The path to check.</param>
|
||||
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <param name="shouldIncludeHiddenElements">Whether to include hidden file system elements or not.</param>
|
||||
/// <returns>The created <see cref="CheckPathExistsRequest"/>.</returns>
|
||||
public CheckPathExistsRequest Create(
|
||||
string? path = null,
|
||||
bool? includeHiddenElements = null)
|
||||
bool? shouldIncludeHiddenElements = null)
|
||||
{
|
||||
return new CheckPathExistsRequest(
|
||||
Path: path ?? _faker.System.FilePath(),
|
||||
IncludeHiddenElements: includeHiddenElements ?? _faker.Random.Bool()
|
||||
ShouldIncludeHiddenElements: shouldIncludeHiddenElements ?? _faker.Random.Bool()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user