Implements directory browser dialog, part 6: hidden file system items toggle

This commit is contained in:
BinaryAlley committed 2024-09-24 11:10:03 +03:00
1 parent cd44f11d9e
commit debad9ef74
74 files changed
+596 -427

No files matched your search

@@ -23,7 +23,10 @@ public static class ApplicationLayerServices
public static IServiceCollection AddApplicationLayerServices(this IServiceCollection services)
{
// register Mediator
services.AddMediator(options => options.ServiceLifetime = ServiceLifetime.Scoped);
services.AddMediator(options =>
{
options.ServiceLifetime = ServiceLifetime.Scoped;
});
// register the validation behavior
services.AddTransient(typeof(IPipelineBehavior<,>), typeof(ValidationBehavior<,>));