Skip to content

Commit

Permalink
Seal INavigationProvider, IAsyncResultFilter, IPermissionProvider, St…
Browse files Browse the repository at this point in the history
…artupBase, IRecipeStepHandler, DisplayDriver, Controller classes.
  • Loading branch information
sarahelsaig committed Sep 24, 2024
1 parent 757597e commit 400e5d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Lombiq.LoginAsAnybody.Controllers;

public class UserSwitcherController : Controller
public sealed class UserSwitcherController : Controller
{
private readonly IAuthorizationService _authorizationService;
private readonly SignInManager<IUser> _signInManager;
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.LoginAsAnybody/Drivers/UserSwitcherDisplayDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Lombiq.LoginAsAnybody.Drivers;

public class UserSwitcherDisplayDriver : DisplayDriver<User>
public sealed class UserSwitcherDisplayDriver : DisplayDriver<User>
{
private readonly IHttpContextAccessor _hca;

Expand Down
2 changes: 1 addition & 1 deletion Lombiq.LoginAsAnybody/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Lombiq.LoginAsAnybody;

public class Startup : StartupBase
public sealed class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services) =>
services.AddScoped<IDisplayDriver<User>, UserSwitcherDisplayDriver>();
Expand Down

0 comments on commit 400e5d6

Please sign in to comment.