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 50249a2 commit 5c0fc72
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Lombiq.JsonEditor/Controllers/AdminController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

namespace Lombiq.JsonEditor.Controllers;

public class AdminController : Controller
public sealed class AdminController : Controller
{
private static readonly JsonMergeSettings _updateJsonMergeSettings = new()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Lombiq.JsonEditor.Drivers;

public class EditJsonActionsMenuContentDisplayDriver : ContentDisplayDriver
public sealed class EditJsonActionsMenuContentDisplayDriver : ContentDisplayDriver
{
private readonly IAuthorizationService _authorizationService;
private readonly IHttpContextAccessor _hca;
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.JsonEditor/Drivers/JsonFieldDisplayDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Lombiq.JsonEditor.Drivers;

public class JsonFieldDisplayDriver : ContentFieldDisplayDriver<JsonField>
public sealed class JsonFieldDisplayDriver : ContentFieldDisplayDriver<JsonField>
{
private readonly IStringLocalizer T;

Expand Down
2 changes: 1 addition & 1 deletion Lombiq.JsonEditor/Settings/JsonFieldSettingsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Lombiq.JsonEditor.Settings;

public class JsonFieldSettingsDriver : ContentPartFieldDefinitionDisplayDriver<JsonField>
public sealed class JsonFieldSettingsDriver : ContentPartFieldDefinitionDisplayDriver<JsonField>
{
private readonly IStringLocalizer T;

Expand Down
4 changes: 2 additions & 2 deletions Lombiq.JsonEditor/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace Lombiq.JsonEditor;

public class Startup : StartupBase
public sealed class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
Expand All @@ -29,7 +29,7 @@ public override void ConfigureServices(IServiceCollection services)
}

[Feature(FeatureIds.ContentEditor)]
public class ContentEditorStartup : StartupBase
public sealed class ContentEditorStartup : StartupBase
{
private readonly AdminOptions _adminOptions;

Expand Down

0 comments on commit 5c0fc72

Please sign in to comment.