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
@@ -17,15 +17,15 @@ public class GetDirectoriesRequestFixture
|
||||
/// Creates a new <see cref="GetDirectoriesRequest"/> instance with randomized test data.
|
||||
/// </summary>
|
||||
/// <param name="path">Optional file system path whose directories are retrieved.</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>A configured <see cref="GetDirectoriesRequest"/> instance.</returns>
|
||||
public GetDirectoriesRequest Create(
|
||||
string? path = null,
|
||||
bool includeHiddenElements = false)
|
||||
bool shouldIncludeHiddenElements = false)
|
||||
{
|
||||
return new GetDirectoriesRequest(
|
||||
Path: path ?? $"/media/{System.Guid.NewGuid():N}",
|
||||
IncludeHiddenElements: includeHiddenElements
|
||||
ShouldIncludeHiddenElements: shouldIncludeHiddenElements
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user