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 cde92c4 commit 681ff44
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Lombiq.ContentEditors.Samples.Controllers;
// to this one.
[Feature(FeatureIds.Samples)]
[Route(Routes.FrontEndContentItemAsyncEditor)]
public class FrontEndDemoContentItemAsyncEditorController : Controller
public sealed class FrontEndDemoContentItemAsyncEditorController : Controller
{
private readonly IAuthorizationService _authorizationService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Lombiq.ContentEditors.Samples.Drivers;

// This is the driver for the SupportTicketPart. It'll generate and place editor shapes for the respective editor
// groups.
public class SupportTicketPartDisplayDriver : ContentPartDisplayDriver<SupportTicketPart>
public sealed class SupportTicketPartDisplayDriver : ContentPartDisplayDriver<SupportTicketPart>
{
// The editor shapes are generated here. The shape is placed from here instead of using the placement.json file.
public override IDisplayResult Edit(SupportTicketPart part, BuildPartEditorContext context) =>
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.ContentEditors.Samples/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Lombiq.ContentEditors.Samples;

[Feature(FeatureIds.Samples)]
public class Startup : StartupBase
public sealed class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Lombiq.ContentEditors.Controllers;

[Feature(FeatureIds.AsyncEditor)]
[Route(Routes.ContentItemAsyncEditorApi)]
public class ContentItemAsyncEditorApiController : Controller
public sealed class ContentItemAsyncEditorApiController : Controller
{
private readonly IEnumerable<IAsyncEditorProvider<ContentItem>> _providers;
private readonly IContentManager _contentManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Lombiq.ContentEditors.Controllers;
[Feature(FeatureIds.AsyncEditor)]
[Admin]
[Route(Routes.ContentItemAsyncEditor)]
public class ContentItemAsyncEditorController : Controller
public sealed class ContentItemAsyncEditorController : Controller
{
[HttpGet("{providerName}/{contentType}/{contentItemId?}")]
public ActionResult Index(string providerName, string contentType, string contentItemId)
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.ContentEditors/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace Lombiq.ContentEditors;

[Feature(FeatureIds.AsyncEditor)]
public class Startup : StartupBase
public sealed class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
Expand Down

0 comments on commit 681ff44

Please sign in to comment.