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

@@ -27,9 +27,9 @@ public interface IGetAllLiteRepositoryAction<TModel, TLiteRow> where TModel : IS
/// <param name="sortBy">The name of the field by which to sort the results.</param>
/// <param name="sortOrder">The direction in which to sort the results.</param>
/// <param name="filterModel">The model containing the parameters used to filter the results.</param>
/// <param name="includeNavigationProperties">Whether the navigation properties of the entities should be loaded together with the entities themselves. Pass <see langword="false"/> to retrieve only the data stored directly on the entity rows.</param>
/// <param name="shouldIncludeNavigationProperties">Whether the navigation properties of the entities should be loaded together with the entities themselves. Pass <see langword="false"/> to retrieve only the data stored directly on the entity rows.</param>
/// <param name="shouldTrackEntities">Whether the retrieved entities should be tracked by the persistence medium, so that changes to them can be saved. Pass <see langword="false"/> for read-only scenarios, to avoid the tracking overhead.</param>
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either a paginated result of type <typeparamref name="TLiteRow"/>, or an error.</returns>
Task<Result<PaginatedResultDto<TLiteRow>>> GetAllLiteAsync<TFilter>(PaginationDataDto? paginationData = null, string? sortBy = null, SortOrder? sortOrder = null, TFilter? filterModel = null, bool includeNavigationProperties = false, bool shouldTrackEntities = false, CancellationToken cancellationToken = default) where TFilter : BaseFilterDto;
Task<Result<PaginatedResultDto<TLiteRow>>> GetAllLiteAsync<TFilter>(PaginationDataDto? paginationData = null, string? sortBy = null, SortOrder? sortOrder = null, TFilter? filterModel = null, bool shouldIncludeNavigationProperties = false, bool shouldTrackEntities = false, CancellationToken cancellationToken = default) where TFilter : BaseFilterDto;
}
@@ -17,6 +17,6 @@ public static class GetDirectoriesRequestMapping
/// <returns>The converted query.</returns>
public static GetDirectoriesQuery ToQuery(this GetDirectoriesRequest request)
{
return new GetDirectoriesQuery(request.Path, request.IncludeHiddenElements);
return new GetDirectoriesQuery(request.Path, request.ShouldIncludeHiddenElements);
}
}
@@ -17,6 +17,6 @@ public static class GetFilesRequestMapping
/// <returns>The converted query.</returns>
public static GetFilesQuery ToQuery(this GetFilesRequest request)
{
return new GetFilesQuery(request.Path, request.IncludeHiddenElements);
return new GetFilesQuery(request.Path, request.ShouldIncludeHiddenElements);
}
}
@@ -17,6 +17,6 @@ public static class GetTreeFilesRequestMapping
/// <returns>The converted query.</returns>
public static GetTreeFilesQuery ToQuery(this GetTreeFilesRequest request)
{
return new GetTreeFilesQuery(request.Path, request.IncludeHiddenElements);
return new GetTreeFilesQuery(request.Path, request.ShouldIncludeHiddenElements);
}
}
@@ -19,7 +19,7 @@ public static class CheckPathExistsRequestMapping
{
return new CheckPathExistsQuery(
request.Path,
request.IncludeHiddenElements
request.ShouldIncludeHiddenElements
);
}
}