From 400e5d6570a1027dc26cb006f29848ee05e90b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ra=20El-Saig?= Date: Tue, 24 Sep 2024 11:05:39 +0200 Subject: [PATCH] Seal INavigationProvider, IAsyncResultFilter, IPermissionProvider, StartupBase, IRecipeStepHandler, DisplayDriver, Controller classes. --- Lombiq.LoginAsAnybody/Controllers/UserSwitcherController.cs | 2 +- Lombiq.LoginAsAnybody/Drivers/UserSwitcherDisplayDriver.cs | 2 +- Lombiq.LoginAsAnybody/Startup.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Lombiq.LoginAsAnybody/Controllers/UserSwitcherController.cs b/Lombiq.LoginAsAnybody/Controllers/UserSwitcherController.cs index 2098bc7..6e2e520 100644 --- a/Lombiq.LoginAsAnybody/Controllers/UserSwitcherController.cs +++ b/Lombiq.LoginAsAnybody/Controllers/UserSwitcherController.cs @@ -10,7 +10,7 @@ namespace Lombiq.LoginAsAnybody.Controllers; -public class UserSwitcherController : Controller +public sealed class UserSwitcherController : Controller { private readonly IAuthorizationService _authorizationService; private readonly SignInManager _signInManager; diff --git a/Lombiq.LoginAsAnybody/Drivers/UserSwitcherDisplayDriver.cs b/Lombiq.LoginAsAnybody/Drivers/UserSwitcherDisplayDriver.cs index aa69f2f..186fb1e 100644 --- a/Lombiq.LoginAsAnybody/Drivers/UserSwitcherDisplayDriver.cs +++ b/Lombiq.LoginAsAnybody/Drivers/UserSwitcherDisplayDriver.cs @@ -6,7 +6,7 @@ namespace Lombiq.LoginAsAnybody.Drivers; -public class UserSwitcherDisplayDriver : DisplayDriver +public sealed class UserSwitcherDisplayDriver : DisplayDriver { private readonly IHttpContextAccessor _hca; diff --git a/Lombiq.LoginAsAnybody/Startup.cs b/Lombiq.LoginAsAnybody/Startup.cs index 86ef106..ae2abe8 100644 --- a/Lombiq.LoginAsAnybody/Startup.cs +++ b/Lombiq.LoginAsAnybody/Startup.cs @@ -6,7 +6,7 @@ namespace Lombiq.LoginAsAnybody; -public class Startup : StartupBase +public sealed class Startup : StartupBase { public override void ConfigureServices(IServiceCollection services) => services.AddScoped, UserSwitcherDisplayDriver>();