Fix up wierd formatting

This commit is contained in:
Zeegaan
2022-07-05 12:40:33 +02:00
parent ac6666e627
commit c94ee7c1ec
11 changed files with 222 additions and 224 deletions

View File

@@ -31,24 +31,24 @@ public class ContentService : RepositoryService, IContentService
private readonly ILogger<ContentService> _logger;
private readonly Lazy<IPropertyValidationService> _propertyValidationService;
private readonly IShortStringHelper _shortStringHelper;
private readonly ICultureImpactService _cultureImpactService;
private readonly ICultureImpactService _cultureImpactService;
private IQuery<IContent>? _queryNotTrashed;
#region Constructors
public ContentService(
ICoreScopeProvider provider,
ILoggerFactory loggerFactory,
ICoreScopeProvider provider,
ILoggerFactory loggerFactory,
IEventMessagesFactory eventMessagesFactory,
IDocumentRepository documentRepository,
IEntityRepository entityRepository,
IDocumentRepository documentRepository,
IEntityRepository entityRepository,
IAuditRepository auditRepository,
IContentTypeRepository contentTypeRepository,
IDocumentBlueprintRepository documentBlueprintRepository,
IContentTypeRepository contentTypeRepository,
IDocumentBlueprintRepository documentBlueprintRepository,
ILanguageRepository languageRepository,
Lazy<IPropertyValidationService> propertyValidationService,
IShortStringHelper shortStringHelper,
ICultureImpactService cultureImpactService)
Lazy<IPropertyValidationService> propertyValidationService,
IShortStringHelper shortStringHelper,
ICultureImpactService cultureImpactService)
: base(provider, loggerFactory, eventMessagesFactory)
{
_documentRepository = documentRepository;
@@ -63,34 +63,34 @@ public class ContentService : RepositoryService, IContentService
_logger = loggerFactory.CreateLogger<ContentService>();
}
[Obsolete("Use constructor that takes ICultureImpactService as a parameter, scheduled for removal in V12")]
public ContentService(
ICoreScopeProvider provider,
ILoggerFactory loggerFactory,
IEventMessagesFactory eventMessagesFactory,
IDocumentRepository documentRepository,
IEntityRepository entityRepository,
IAuditRepository auditRepository,
IContentTypeRepository contentTypeRepository,
IDocumentBlueprintRepository documentBlueprintRepository,
ILanguageRepository languageRepository,
Lazy<IPropertyValidationService> propertyValidationService,
IShortStringHelper shortStringHelper)
: this(
provider,
loggerFactory,
eventMessagesFactory,
documentRepository,
entityRepository,
auditRepository,
contentTypeRepository,
documentBlueprintRepository,
languageRepository,
propertyValidationService,
shortStringHelper,
StaticServiceProvider.Instance.GetRequiredService<ICultureImpactService>())
{
}
[Obsolete("Use constructor that takes ICultureImpactService as a parameter, scheduled for removal in V12")]
public ContentService(
ICoreScopeProvider provider,
ILoggerFactory loggerFactory,
IEventMessagesFactory eventMessagesFactory,
IDocumentRepository documentRepository,
IEntityRepository entityRepository,
IAuditRepository auditRepository,
IContentTypeRepository contentTypeRepository,
IDocumentBlueprintRepository documentBlueprintRepository,
ILanguageRepository languageRepository,
Lazy<IPropertyValidationService> propertyValidationService,
IShortStringHelper shortStringHelper)
: this(
provider,
loggerFactory,
eventMessagesFactory,
documentRepository,
entityRepository,
auditRepository,
contentTypeRepository,
documentBlueprintRepository,
languageRepository,
propertyValidationService,
shortStringHelper,
StaticServiceProvider.Instance.GetRequiredService<ICultureImpactService>())
{
}
#endregion