diff --git a/src/OrchardCore.Modules/OrchardCore.AdminMenu/Deployment/AdminMenuDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.AdminMenu/Deployment/AdminMenuDeploymentSource.cs index 0502063da9b..034c0b17cc1 100644 --- a/src/OrchardCore.Modules/OrchardCore.AdminMenu/Deployment/AdminMenuDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.AdminMenu/Deployment/AdminMenuDeploymentSource.cs @@ -7,7 +7,7 @@ namespace OrchardCore.AdminMenu.Deployment; -public class AdminMenuDeploymentSource +public sealed class AdminMenuDeploymentSource : DeploymentSourceBase { private readonly IAdminMenuService _adminMenuService; diff --git a/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ContentDefinitionDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ContentDefinitionDeploymentSource.cs index f499be5309c..4a641f2c2ba 100644 --- a/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ContentDefinitionDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ContentDefinitionDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.ContentTypes.Deployment; -public class ContentDefinitionDeploymentSource +public sealed class ContentDefinitionDeploymentSource : DeploymentSourceBase { private readonly IContentDefinitionStore _contentDefinitionStore; diff --git a/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/DeleteContentDefinitionDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/DeleteContentDefinitionDeploymentSource.cs index 22e024d0107..1f9fca776cd 100644 --- a/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/DeleteContentDefinitionDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/DeleteContentDefinitionDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.ContentTypes.Deployment; -public class DeleteContentDefinitionDeploymentSource +public sealed class DeleteContentDefinitionDeploymentSource : DeploymentSourceBase { protected override Task ProcessAsync(DeleteContentDefinitionDeploymentStep step, DeploymentPlanResult result) diff --git a/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ReplaceContentDefinitionDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ReplaceContentDefinitionDeploymentSource.cs index 3d660902753..5ca0a9bdcd5 100644 --- a/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ReplaceContentDefinitionDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.ContentTypes/Deployment/ReplaceContentDefinitionDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.ContentTypes.Deployment; -public class ReplaceContentDefinitionDeploymentSource +public sealed class ReplaceContentDefinitionDeploymentSource : DeploymentSourceBase { private readonly IContentDefinitionStore _contentDefinitionStore; diff --git a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AddToDeploymentPlan/ContentItemDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AddToDeploymentPlan/ContentItemDeploymentSource.cs index 03b49f2c683..7c3bdb16d99 100644 --- a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AddToDeploymentPlan/ContentItemDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AddToDeploymentPlan/ContentItemDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Contents.Deployment.AddToDeploymentPlan; -public class ContentItemDeploymentSource +public sealed class ContentItemDeploymentSource : DeploymentSourceBase { private readonly IContentManager _contentManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AllContentDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AllContentDeploymentSource.cs index bf2019faca2..f7a0410f471 100644 --- a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AllContentDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/AllContentDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.Contents.Deployment; -public class AllContentDeploymentSource +public sealed class AllContentDeploymentSource : DeploymentSourceBase { private readonly ISession _session; diff --git a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ContentDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ContentDeploymentSource.cs index 767605aae61..9251af62b00 100644 --- a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ContentDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ContentDeploymentSource.cs @@ -7,7 +7,7 @@ namespace OrchardCore.Contents.Deployment; -public class ContentDeploymentSource +public sealed class ContentDeploymentSource : DeploymentSourceBase { private readonly ISession _session; diff --git a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ExportContentToDeploymentTarget/ExportContentToDeploymentTargetDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ExportContentToDeploymentTarget/ExportContentToDeploymentTargetDeploymentSource.cs index fd9d265606c..f15d07f484f 100644 --- a/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ExportContentToDeploymentTarget/ExportContentToDeploymentTargetDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Contents/Deployment/ExportContentToDeploymentTarget/ExportContentToDeploymentTargetDeploymentSource.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Contents.Deployment.ExportContentToDeploymentTarget; -public class ExportContentToDeploymentTargetDeploymentSource +public sealed class ExportContentToDeploymentTargetDeploymentSource : DeploymentSourceBase { private readonly IContentManager _contentManager; diff --git a/src/OrchardCore.Modules/OrchardCore.CustomSettings/Deployment/CustomSettingsDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.CustomSettings/Deployment/CustomSettingsDeploymentSource.cs index 7e61377cc34..3d297dc9b6e 100644 --- a/src/OrchardCore.Modules/OrchardCore.CustomSettings/Deployment/CustomSettingsDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.CustomSettings/Deployment/CustomSettingsDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.CustomSettings.Deployment; -public class CustomSettingsDeploymentSource +public sealed class CustomSettingsDeploymentSource : DeploymentSourceBase { private readonly CustomSettingsService _customSettingsService; diff --git a/src/OrchardCore.Modules/OrchardCore.Deployment/Deployment/DeploymentPlanDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Deployment/Deployment/DeploymentPlanDeploymentSource.cs index f0aacb6b9b1..369c831376f 100644 --- a/src/OrchardCore.Modules/OrchardCore.Deployment/Deployment/DeploymentPlanDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Deployment/Deployment/DeploymentPlanDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Deployment.Deployment; -public class DeploymentPlanDeploymentSource +public sealed class DeploymentPlanDeploymentSource : DeploymentSourceBase { private readonly IDeploymentPlanService _deploymentPlanService; diff --git a/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/CustomFileDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/CustomFileDeploymentSource.cs index 1b5925b8040..fddc1629e65 100644 --- a/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/CustomFileDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/CustomFileDeploymentSource.cs @@ -2,7 +2,7 @@ namespace OrchardCore.Deployment.Steps; -public class CustomFileDeploymentSource +public sealed class CustomFileDeploymentSource : DeploymentSourceBase { protected override Task ProcessAsync(CustomFileDeploymentStep step, DeploymentPlanResult result) diff --git a/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/JsonRecipeDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/JsonRecipeDeploymentSource.cs index 110be9c6018..cfe8b2d2658 100644 --- a/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/JsonRecipeDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Deployment/Steps/JsonRecipeDeploymentSource.cs @@ -2,7 +2,7 @@ namespace OrchardCore.Deployment.Steps; -public class JsonRecipeDeploymentSource +public sealed class JsonRecipeDeploymentSource : DeploymentSourceBase { protected override Task ProcessAsync(JsonRecipeDeploymentStep step, DeploymentPlanResult result) diff --git a/src/OrchardCore.Modules/OrchardCore.Facebook/Deployment/FacebookLoginDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Facebook/Deployment/FacebookLoginDeploymentSource.cs index 62ad15bbb73..becc34b7365 100644 --- a/src/OrchardCore.Modules/OrchardCore.Facebook/Deployment/FacebookLoginDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Facebook/Deployment/FacebookLoginDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Facebook.Deployment; -public class FacebookLoginDeploymentSource +public sealed class FacebookLoginDeploymentSource : DeploymentSourceBase { private readonly IFacebookService _facebookService; diff --git a/src/OrchardCore.Modules/OrchardCore.Features/Deployment/AllFeaturesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Features/Deployment/AllFeaturesDeploymentSource.cs index 3712eeb51a5..2335b614d1f 100644 --- a/src/OrchardCore.Modules/OrchardCore.Features/Deployment/AllFeaturesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Features/Deployment/AllFeaturesDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Features.Deployment; -public class AllFeaturesDeploymentSource +public sealed class AllFeaturesDeploymentSource : DeploymentSourceBase { private readonly IModuleService _moduleService; diff --git a/src/OrchardCore.Modules/OrchardCore.Layers/Deployment/AllLayersDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Layers/Deployment/AllLayersDeploymentSource.cs index c2dc930aaeb..d00c4fbfec6 100644 --- a/src/OrchardCore.Modules/OrchardCore.Layers/Deployment/AllLayersDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Layers/Deployment/AllLayersDeploymentSource.cs @@ -9,7 +9,7 @@ namespace OrchardCore.Layers.Deployment; -public class AllLayersDeploymentSource +public sealed class AllLayersDeploymentSource : DeploymentSourceBase { private readonly ILayerService _layerService; diff --git a/src/OrchardCore.Modules/OrchardCore.Media.AmazonS3/Services/MediaS3BucketTenantEvents.cs b/src/OrchardCore.Modules/OrchardCore.Media.AmazonS3/Services/MediaS3BucketTenantEvents.cs index e604617f736..3a1e325fdc9 100644 --- a/src/OrchardCore.Modules/OrchardCore.Media.AmazonS3/Services/MediaS3BucketTenantEvents.cs +++ b/src/OrchardCore.Modules/OrchardCore.Media.AmazonS3/Services/MediaS3BucketTenantEvents.cs @@ -7,7 +7,7 @@ namespace OrchardCore.Media.AmazonS3.Services; -public class MediaS3BucketTenantEvents : AwsTenantEventsBase +public sealed class MediaS3BucketTenantEvents : AwsTenantEventsBase { public MediaS3BucketTenantEvents( ShellSettings shellSettings, diff --git a/src/OrchardCore.Modules/OrchardCore.Media.Azure/Services/MediaBlobContainerTenantEvents.cs b/src/OrchardCore.Modules/OrchardCore.Media.Azure/Services/MediaBlobContainerTenantEvents.cs index 3c6ed356d39..4a3dceb89a4 100644 --- a/src/OrchardCore.Modules/OrchardCore.Media.Azure/Services/MediaBlobContainerTenantEvents.cs +++ b/src/OrchardCore.Modules/OrchardCore.Media.Azure/Services/MediaBlobContainerTenantEvents.cs @@ -10,13 +10,13 @@ namespace OrchardCore.Media.Azure.Services; -public class MediaBlobContainerTenantEvents : ModularTenantEvents +public sealed class MediaBlobContainerTenantEvents : ModularTenantEvents { private readonly MediaBlobStorageOptions _options; private readonly ShellSettings _shellSettings; private readonly ILogger _logger; - protected readonly IStringLocalizer S; + internal readonly IStringLocalizer S; public MediaBlobContainerTenantEvents( IOptions options, diff --git a/src/OrchardCore.Modules/OrchardCore.Media/Deployment/AllMediaProfilesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Media/Deployment/AllMediaProfilesDeploymentSource.cs index c0da48b7f36..6a615040876 100644 --- a/src/OrchardCore.Modules/OrchardCore.Media/Deployment/AllMediaProfilesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Media/Deployment/AllMediaProfilesDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Media.Deployment; -public class AllMediaProfilesDeploymentSource +public sealed class AllMediaProfilesDeploymentSource : DeploymentSourceBase { private readonly MediaProfilesManager _mediaProfilesManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Media/Deployment/MediaDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Media/Deployment/MediaDeploymentSource.cs index 1c108231867..a3da730c89c 100644 --- a/src/OrchardCore.Modules/OrchardCore.Media/Deployment/MediaDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Media/Deployment/MediaDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Media.Deployment; -public class MediaDeploymentSource +public sealed class MediaDeploymentSource : DeploymentSourceBase { private readonly IMediaFileStore _mediaFileStore; diff --git a/src/OrchardCore.Modules/OrchardCore.Media/Services/TempDirCleanerService.cs b/src/OrchardCore.Modules/OrchardCore.Media/Services/TempDirCleanerService.cs index bb27b112167..61c86829ba3 100644 --- a/src/OrchardCore.Modules/OrchardCore.Media/Services/TempDirCleanerService.cs +++ b/src/OrchardCore.Modules/OrchardCore.Media/Services/TempDirCleanerService.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Media.Services; -public class TempDirCleanerService : ModularTenantEvents +public sealed class TempDirCleanerService : ModularTenantEvents { private readonly IMediaFileStore _fileStore; private readonly AttachedMediaFieldFileService _attachedMediaFieldFileService; diff --git a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs index d7ebe2202a9..e3b41cb6560 100644 --- a/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Deployment/AzureADDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Microsoft.Authentication.Deployment; -public class AzureADDeploymentSource +public sealed class AzureADDeploymentSource : DeploymentSourceBase { private readonly IAzureADService _azureADService; diff --git a/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdServerDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdServerDeploymentSource.cs index db7f2374f0b..751e1b68dc3 100644 --- a/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdServerDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdServerDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.OpenId.Deployment; -public class OpenIdServerDeploymentSource +public sealed class OpenIdServerDeploymentSource : DeploymentSourceBase { private readonly IOpenIdServerService _openIdServerService; diff --git a/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdValidationDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdValidationDeploymentSource.cs index f0a782f5a10..0676ab5dcf2 100644 --- a/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdValidationDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.OpenId/Deployment/OpenIdValidationDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.OpenId.Deployment; -public class OpenIdValidationDeploymentSource +public sealed class OpenIdValidationDeploymentSource : DeploymentSourceBase { private readonly IOpenIdValidationService _openIdValidationService; diff --git a/src/OrchardCore.Modules/OrchardCore.Placements/Deployment/PlacementsDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Placements/Deployment/PlacementsDeploymentSource.cs index 8a5e8fc02b7..964e7003b83 100644 --- a/src/OrchardCore.Modules/OrchardCore.Placements/Deployment/PlacementsDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Placements/Deployment/PlacementsDeploymentSource.cs @@ -7,7 +7,7 @@ namespace OrchardCore.Placements.Deployment; -public class PlacementsDeploymentSource +public sealed class PlacementsDeploymentSource : DeploymentSourceBase { private readonly PlacementsManager _placementsManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/AllQueriesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/AllQueriesDeploymentSource.cs index b59a3ce7d91..9303d9301c1 100644 --- a/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/AllQueriesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/AllQueriesDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.Queries.Deployment; -public class AllQueriesDeploymentSource +public sealed class AllQueriesDeploymentSource : DeploymentSourceBase { private readonly IQueryManager _queryManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/QueryBasedContentDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/QueryBasedContentDeploymentSource.cs index 615cf61bfb8..c89bba25531 100644 --- a/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/QueryBasedContentDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Queries/Deployment/QueryBasedContentDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Queries.Deployment; -public class QueryBasedContentDeploymentSource +public sealed class QueryBasedContentDeploymentSource : DeploymentSourceBase { private readonly IQueryManager _queryManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Redis/Services/RedisService.cs b/src/OrchardCore.Modules/OrchardCore.Redis/Services/RedisService.cs index 93d6447d5fe..8eecb06193a 100644 --- a/src/OrchardCore.Modules/OrchardCore.Redis/Services/RedisService.cs +++ b/src/OrchardCore.Modules/OrchardCore.Redis/Services/RedisService.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Redis.Services; -public class RedisService : ModularTenantEvents, IRedisService +public sealed class RedisService : ModularTenantEvents, IRedisService { private readonly IRedisDatabaseFactory _factory; private readonly RedisOptions _options; diff --git a/src/OrchardCore.Modules/OrchardCore.Roles/Deployment/AllRolesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Roles/Deployment/AllRolesDeploymentSource.cs index ce660fdb271..726108549cd 100644 --- a/src/OrchardCore.Modules/OrchardCore.Roles/Deployment/AllRolesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Roles/Deployment/AllRolesDeploymentSource.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Roles.Deployment; -public class AllRolesDeploymentSource +public sealed class AllRolesDeploymentSource : DeploymentSourceBase { private readonly RoleManager _roleManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexDeploymentSource.cs index 07d1dc0e47a..9d989745c3a 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Search.Lucene.Deployment; -public class LuceneIndexDeploymentSource +public sealed class LuceneIndexDeploymentSource : DeploymentSourceBase { private readonly LuceneIndexSettingsService _luceneIndexSettingsService; diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexRebuildDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexRebuildDeploymentSource.cs index 7bccad79c29..dccafefd982 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexRebuildDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexRebuildDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Search.Lucene.Deployment; -public class LuceneIndexRebuildDeploymentSource +public sealed class LuceneIndexRebuildDeploymentSource : DeploymentSourceBase { protected override Task ProcessAsync(LuceneIndexRebuildDeploymentStep step, DeploymentPlanResult result) diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexResetDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexResetDeploymentSource.cs index 44a2efa95f0..ec41c9b01d2 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexResetDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneIndexResetDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Search.Lucene.Deployment; -public class LuceneIndexResetDeploymentSource +public sealed class LuceneIndexResetDeploymentSource : DeploymentSourceBase { protected override Task ProcessAsync(LuceneIndexResetDeploymentStep step, DeploymentPlanResult result) diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneSettingsDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneSettingsDeploymentSource.cs index 4924a8170cd..e5a1e2a9380 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneSettingsDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Deployment/LuceneSettingsDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Search.Lucene.Deployment; -public class LuceneSettingsDeploymentSource +public sealed class LuceneSettingsDeploymentSource : DeploymentSourceBase { private readonly LuceneIndexingService _luceneIndexingService; diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Services/LuceneIndexInitializerService.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Services/LuceneIndexInitializerService.cs index 54896d72e54..efff524e411 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Services/LuceneIndexInitializerService.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/Services/LuceneIndexInitializerService.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Search.Lucene; -public class LuceneIndexInitializerService : ModularTenantEvents +public sealed class LuceneIndexInitializerService : ModularTenantEvents { private readonly ShellSettings _shellSettings; diff --git a/src/OrchardCore.Modules/OrchardCore.Search/Deployment/SearchSettingsDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Search/Deployment/SearchSettingsDeploymentSource.cs index 64f53f6f431..5133e679acb 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search/Deployment/SearchSettingsDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search/Deployment/SearchSettingsDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Search.Deployment; -public class SearchSettingsDeploymentSource +public sealed class SearchSettingsDeploymentSource : DeploymentSourceBase { private readonly ISiteService _siteService; diff --git a/src/OrchardCore.Modules/OrchardCore.Settings/Deployment/SiteSettingsDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Settings/Deployment/SiteSettingsDeploymentSource.cs index 2640e4099d3..fa22a1132f2 100644 --- a/src/OrchardCore.Modules/OrchardCore.Settings/Deployment/SiteSettingsDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Settings/Deployment/SiteSettingsDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Settings.Deployment; -public class SiteSettingsDeploymentSource +public sealed class SiteSettingsDeploymentSource : DeploymentSourceBase { private readonly ISiteService _siteService; diff --git a/src/OrchardCore.Modules/OrchardCore.Shortcodes/Deployment/AllShortcodeTemplatesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Shortcodes/Deployment/AllShortcodeTemplatesDeploymentSource.cs index 7c048f9fa59..64e90e05ac2 100644 --- a/src/OrchardCore.Modules/OrchardCore.Shortcodes/Deployment/AllShortcodeTemplatesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Shortcodes/Deployment/AllShortcodeTemplatesDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Shortcodes.Deployment; -public class AllShortcodeTemplatesDeploymentSource +public sealed class AllShortcodeTemplatesDeploymentSource : DeploymentSourceBase { private readonly ShortcodeTemplatesManager _templatesManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllAdminTemplatesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllAdminTemplatesDeploymentSource.cs index fcd65d71a94..c980d863d1c 100644 --- a/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllAdminTemplatesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllAdminTemplatesDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.Templates.Deployment; -public class AllAdminTemplatesDeploymentSource +public sealed class AllAdminTemplatesDeploymentSource : DeploymentSourceBase { private readonly AdminTemplatesManager _templatesManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllTemplatesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllTemplatesDeploymentSource.cs index 97b6ecb2826..1772912b289 100644 --- a/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllTemplatesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Templates/Deployment/AllTemplatesDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.Templates.Deployment; -public class AllTemplatesDeploymentSource +public sealed class AllTemplatesDeploymentSource : DeploymentSourceBase { private readonly TemplatesManager _templatesManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Tenants/Deployment/AllFeatureProfilesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Tenants/Deployment/AllFeatureProfilesDeploymentSource.cs index a21b17d3d79..24bf89c5563 100644 --- a/src/OrchardCore.Modules/OrchardCore.Tenants/Deployment/AllFeatureProfilesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Tenants/Deployment/AllFeatureProfilesDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Tenants.Deployment; -public class AllFeatureProfilesDeploymentSource +public sealed class AllFeatureProfilesDeploymentSource : DeploymentSourceBase { private readonly FeatureProfilesManager _featureProfilesManager; diff --git a/src/OrchardCore.Modules/OrchardCore.Themes/Deployment/ThemesDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Themes/Deployment/ThemesDeploymentSource.cs index e50bcb58df4..8e1562fd5d1 100644 --- a/src/OrchardCore.Modules/OrchardCore.Themes/Deployment/ThemesDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Themes/Deployment/ThemesDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.Themes.Deployment; -public class ThemesDeploymentSource +public sealed class ThemesDeploymentSource : DeploymentSourceBase { private readonly ISiteThemeService _siteThemeService; diff --git a/src/OrchardCore.Modules/OrchardCore.Users/Deployment/AllUsersDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Users/Deployment/AllUsersDeploymentSource.cs index 991c4f0e0a5..8b92ba375c8 100644 --- a/src/OrchardCore.Modules/OrchardCore.Users/Deployment/AllUsersDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Users/Deployment/AllUsersDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Users.Deployment; -public class AllUsersDeploymentSource +public sealed class AllUsersDeploymentSource : DeploymentSourceBase { private readonly ISession _session; diff --git a/src/OrchardCore.Modules/OrchardCore.Users/Deployment/CustomUserSettingsDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Users/Deployment/CustomUserSettingsDeploymentSource.cs index d54f80451bb..f374723f229 100644 --- a/src/OrchardCore.Modules/OrchardCore.Users/Deployment/CustomUserSettingsDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Users/Deployment/CustomUserSettingsDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.Users.Deployment; -public class CustomUserSettingsDeploymentSource +public sealed class CustomUserSettingsDeploymentSource : DeploymentSourceBase { private readonly CustomUserSettingsService _customUserSettingsService; diff --git a/src/OrchardCore.Modules/OrchardCore.Workflows/Deployment/AllWorkflowTypeDeploymentSource.cs b/src/OrchardCore.Modules/OrchardCore.Workflows/Deployment/AllWorkflowTypeDeploymentSource.cs index 62696c1bdb4..772c1aa3bf5 100644 --- a/src/OrchardCore.Modules/OrchardCore.Workflows/Deployment/AllWorkflowTypeDeploymentSource.cs +++ b/src/OrchardCore.Modules/OrchardCore.Workflows/Deployment/AllWorkflowTypeDeploymentSource.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Workflows.Deployment; -public class AllWorkflowTypeDeploymentSource +public sealed class AllWorkflowTypeDeploymentSource : DeploymentSourceBase { private readonly IWorkflowTypeStore _workflowTypeStore; diff --git a/src/OrchardCore/OrchardCore.Data/Migration/AutomaticDataMigrations.cs b/src/OrchardCore/OrchardCore.Data/Migration/AutomaticDataMigrations.cs index 07253518fea..8c40808965b 100644 --- a/src/OrchardCore/OrchardCore.Data/Migration/AutomaticDataMigrations.cs +++ b/src/OrchardCore/OrchardCore.Data/Migration/AutomaticDataMigrations.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Data.Migration; /// /// Represents a tenant event that will be registered to OrchardShell.Activated in order to run migrations automatically. /// -public class AutomaticDataMigrations : ModularTenantEvents +public sealed class AutomaticDataMigrations : ModularTenantEvents { private readonly ShellSettings _shellSettings; private readonly ILogger _logger; diff --git a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexDeploymentSource.cs index 9ad107b4cb0..59e3b45c5c1 100644 --- a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexDeploymentSource.cs @@ -6,7 +6,7 @@ namespace OrchardCore.Search.AzureAI.Deployment; -public class AzureAISearchIndexDeploymentSource +public sealed class AzureAISearchIndexDeploymentSource : DeploymentSourceBase { private readonly AzureAISearchIndexSettingsService _indexSettingsService; diff --git a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexRebuildDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexRebuildDeploymentSource.cs index c427ad27f4d..9b6e43f09be 100644 --- a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexRebuildDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexRebuildDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Search.AzureAI.Deployment; -public class AzureAISearchIndexRebuildDeploymentSource +public sealed class AzureAISearchIndexRebuildDeploymentSource : DeploymentSourceBase { public const string Name = "azureai-index-rebuild"; diff --git a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexResetDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexResetDeploymentSource.cs index cba205f147c..4a542669c0f 100644 --- a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexResetDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchIndexResetDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Search.AzureAI.Deployment; -public class AzureAISearchIndexResetDeploymentSource +public sealed class AzureAISearchIndexResetDeploymentSource : DeploymentSourceBase { public const string Name = "azureai-index-reset"; diff --git a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchSettingsDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchSettingsDeploymentSource.cs index 4bcbc995123..f0ffc069bad 100644 --- a/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchSettingsDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.AzureAI.Core/Deployment/AzureAISearchSettingsDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Search.AzureAI.Deployment; -public class AzureAISearchSettingsDeploymentSource(ISiteService siteService) +public sealed class AzureAISearchSettingsDeploymentSource(ISiteService siteService) : DeploymentSourceBase { private readonly ISiteService _siteService = siteService; diff --git a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexDeploymentSource.cs index 841d9203cb3..da5facecaf8 100644 --- a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexDeploymentSource.cs @@ -5,7 +5,7 @@ namespace OrchardCore.Search.Elasticsearch.Core.Deployment; -public class ElasticIndexDeploymentSource +public sealed class ElasticIndexDeploymentSource : DeploymentSourceBase { private readonly ElasticIndexSettingsService _elasticIndexSettingsService; diff --git a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexRebuildDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexRebuildDeploymentSource.cs index aa8346aba31..bd5b9d7ea2f 100644 --- a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexRebuildDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexRebuildDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Search.Elasticsearch.Core.Deployment; -public class ElasticIndexRebuildDeploymentSource +public sealed class ElasticIndexRebuildDeploymentSource : DeploymentSourceBase { protected override Task ProcessAsync(ElasticIndexRebuildDeploymentStep step, DeploymentPlanResult result) diff --git a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexResetDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexResetDeploymentSource.cs index ac0b8849d21..4a8f2dea3e4 100644 --- a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexResetDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticIndexResetDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Search.Elasticsearch.Core.Deployment; -public class ElasticIndexResetDeploymentSource +public sealed class ElasticIndexResetDeploymentSource : DeploymentSourceBase { protected override Task ProcessAsync(ElasticIndexResetDeploymentStep step, DeploymentPlanResult result) diff --git a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticSettingsDeploymentSource.cs b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticSettingsDeploymentSource.cs index 754b6c64b36..69ffd23d722 100644 --- a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticSettingsDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Deployment/ElasticSettingsDeploymentSource.cs @@ -4,7 +4,7 @@ namespace OrchardCore.Search.Elasticsearch.Core.Deployment; -public class ElasticSettingsDeploymentSource +public sealed class ElasticSettingsDeploymentSource : DeploymentSourceBase { private readonly ElasticIndexingService _elasticIndexingService; diff --git a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Services/ElasticIndexInitializerService.cs b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Services/ElasticIndexInitializerService.cs index 732d4ee7725..0bf0a2e16cc 100644 --- a/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Services/ElasticIndexInitializerService.cs +++ b/src/OrchardCore/OrchardCore.Search.Elasticsearch.Core/Services/ElasticIndexInitializerService.cs @@ -13,12 +13,13 @@ namespace OrchardCore.Search.Elasticsearch; /// Provides a way to initialize Elasticsearch index on startup of the application /// if the index is not found on the Elasticsearch server. /// -public class ElasticIndexInitializerService : ModularTenantEvents +public sealed class ElasticIndexInitializerService : ModularTenantEvents { private readonly ShellSettings _shellSettings; private readonly ElasticIndexManager _elasticIndexManager; private readonly ElasticIndexSettingsService _elasticIndexSettingsService; - protected readonly IStringLocalizer S; + + internal readonly IStringLocalizer S; private readonly ILogger _logger; public ElasticIndexInitializerService( diff --git a/src/OrchardCore/OrchardCore.Settings.Core/Deployment/SiteSettingsPropertyDeploymentSource.cs b/src/OrchardCore/OrchardCore.Settings.Core/Deployment/SiteSettingsPropertyDeploymentSource.cs index 43faa89391e..2103f168776 100644 --- a/src/OrchardCore/OrchardCore.Settings.Core/Deployment/SiteSettingsPropertyDeploymentSource.cs +++ b/src/OrchardCore/OrchardCore.Settings.Core/Deployment/SiteSettingsPropertyDeploymentSource.cs @@ -3,7 +3,7 @@ namespace OrchardCore.Settings.Deployment; -public class SiteSettingsPropertyDeploymentSource +public sealed class SiteSettingsPropertyDeploymentSource : DeploymentSourceBase> where TModel : class, new() { private readonly ISiteService _siteService;