Standardizes boolean naming across the stack

This commit is contained in:
BinaryAlley committed 2026-09-26 10:12:12 +03:00
1 parent 6bd0cf6d42
commit 37dff6039d
78 files changed
+252 -252

No files matched your search

@@ -18,9 +18,9 @@ public class GetDirectoriesQueryFixture
/// Creates a random valid query to get directories.
/// </summary>
/// <param name="path">Optional. The file system path.</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 query to get directories.</returns>
public GetDirectoriesQuery Create(string? path = null, bool includeHiddenElements = false)
public GetDirectoriesQuery Create(string? path = null, bool shouldIncludeHiddenElements = false)
{
return new Faker<GetDirectoriesQuery>()
.CustomInstantiator(f => new GetDirectoriesQuery(
@@ -28,7 +28,7 @@ public class GetDirectoriesQueryFixture
default
))
.RuleFor(x => x.Path, f => path ?? f.System.DirectoryPath())
.RuleFor(x => x.IncludeHiddenElements, f => includeHiddenElements);
.RuleFor(x => x.ShouldIncludeHiddenElements, f => shouldIncludeHiddenElements);
}
/// <summary>
@@ -18,9 +18,9 @@ public class GetFilesQueryFixture
/// Creates a random valid query to get files.
/// </summary>
/// <param name="path">Optional. The file system path.</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 query to get files.</returns>
public GetFilesQuery Create(string? path = null, bool includeHiddenElements = false)
public GetFilesQuery Create(string? path = null, bool shouldIncludeHiddenElements = false)
{
return new Faker<GetFilesQuery>()
.CustomInstantiator(f => new GetFilesQuery(
@@ -28,7 +28,7 @@ public class GetFilesQueryFixture
default
))
.RuleFor(x => x.Path, f => path ?? f.System.FilePath())
.RuleFor(x => x.IncludeHiddenElements, f => includeHiddenElements);
.RuleFor(x => x.ShouldIncludeHiddenElements, f => shouldIncludeHiddenElements);
}
/// <summary>
@@ -18,9 +18,9 @@ public class GetTreeFilesQueryFixture
/// Creates a random valid query to get tree files.
/// </summary>
/// <param name="path">Optional. The file system path.</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 query to get tree files.</returns>
public GetTreeFilesQuery Create(string? path = null, bool includeHiddenElements = false)
public GetTreeFilesQuery Create(string? path = null, bool shouldIncludeHiddenElements = false)
{
return new Faker<GetTreeFilesQuery>()
.CustomInstantiator(f => new GetTreeFilesQuery(
@@ -28,7 +28,7 @@ public class GetTreeFilesQueryFixture
default
))
.RuleFor(x => x.Path, f => path ?? f.System.FilePath())
.RuleFor(x => x.IncludeHiddenElements, f => includeHiddenElements);
.RuleFor(x => x.ShouldIncludeHiddenElements, f => shouldIncludeHiddenElements);
}
/// <summary>
@@ -18,9 +18,9 @@ public class CheckPathExistsQueryFixture
/// Creates a random valid query to check if paths exist.
/// </summary>
/// <param name="path">Optional. The file system path.</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 query.</returns>
public CheckPathExistsQuery Create(string? path = null, bool includeHiddenElements = true)
public CheckPathExistsQuery Create(string? path = null, bool shouldIncludeHiddenElements = true)
{
return new Faker<CheckPathExistsQuery>()
.CustomInstantiator(f => new CheckPathExistsQuery(
@@ -28,7 +28,7 @@ public class CheckPathExistsQueryFixture
default
))
.RuleFor(x => x.Path, f => path ?? f.System.FilePath())
.RuleFor(x => x.IncludeHiddenElements, includeHiddenElements);
.RuleFor(x => x.ShouldIncludeHiddenElements, shouldIncludeHiddenElements);
}
/// <summary>