From c991a7ec3ad12b629984ec92fe6964360102a5e1 Mon Sep 17 00:00:00 2001 From: Lars-Erik Date: Tue, 23 Jan 2024 11:56:23 +0100 Subject: [PATCH 1/4] All MigrationHandlerBase things made public --- .../Handlers/Eight/ContentBaseMigrationHandler.cs | 3 ++- .../Handlers/Eight/ContentMigrationHandler.cs | 2 +- .../Handlers/Eight/ContentTypeBaseMigrationHandler.cs | 3 ++- .../Handlers/Eight/ContentTypeMigrationHandler.cs | 2 +- .../Handlers/Eight/DataTypeMigrationHandler.cs | 3 ++- .../Handlers/Eight/DictionaryMigrationHandler.cs | 2 +- .../Handlers/Eight/LanguageMigrationHandler.cs | 2 +- uSync.Migrations.Core/Handlers/Eight/MacroMigrationHandler.cs | 2 +- uSync.Migrations.Core/Handlers/Eight/MediaMigrationHandler.cs | 2 +- .../Handlers/Eight/MediaTypeMigrationHandler.cs | 2 +- .../Handlers/Eight/TemplateMigrationHandler.cs | 2 +- uSync.Migrations.Core/Handlers/MigrationHandlerBase.cs | 3 ++- .../Handlers/Seven/ContentBaseMigrationHandler.cs | 2 +- .../Handlers/Seven/ContentMigrationHandler.cs | 2 +- .../Handlers/Seven/ContentTypeBaseMigrationHandler.cs | 2 +- .../Handlers/Seven/ContentTypeMigrationHandler.cs | 2 +- .../Handlers/Seven/DataTypeMigrationHandler.cs | 2 +- .../Handlers/Seven/DictionaryMigrationHandler.cs | 2 +- .../Handlers/Seven/LanguageMigrationHandler.cs | 2 +- uSync.Migrations.Core/Handlers/Seven/MacroMigrationHandler.cs | 2 +- uSync.Migrations.Core/Handlers/Seven/MediaMigrationHandler.cs | 2 +- .../Handlers/Seven/MediaTypeMigrationHandler.cs | 2 +- .../Handlers/Seven/TemplateMigrationHandler.cs | 2 +- .../Handlers/Shared/SharedContentBaseHandler.cs | 3 ++- .../Handlers/Shared/SharedContentTypeBaseHandler.cs | 3 ++- uSync.Migrations.Core/Handlers/Shared/SharedDataTypeHandler.cs | 3 ++- uSync.Migrations.Core/Handlers/Shared/SharedHandlerBase.cs | 2 +- uSync.Migrations.Core/Handlers/Shared/SharedTemplateHandler.cs | 2 +- 28 files changed, 35 insertions(+), 28 deletions(-) diff --git a/uSync.Migrations.Core/Handlers/Eight/ContentBaseMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/ContentBaseMigrationHandler.cs index 45d18530..c2997aaf 100644 --- a/uSync.Migrations.Core/Handlers/Eight/ContentBaseMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/ContentBaseMigrationHandler.cs @@ -14,7 +14,8 @@ using uSync.Migrations.Core.Services; namespace uSync.Migrations.Core.Handlers.Eight; -internal class ContentBaseMigrationHandler : SharedContentBaseHandler + +public class ContentBaseMigrationHandler : SharedContentBaseHandler where TEntity : ContentBase { public ContentBaseMigrationHandler( diff --git a/uSync.Migrations.Core/Handlers/Eight/ContentMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/ContentMigrationHandler.cs index 971f6694..0ab37739 100644 --- a/uSync.Migrations.Core/Handlers/Eight/ContentMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/ContentMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "Content", TargetFolderName = "Content")] -internal class ContentMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler +public class ContentMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler { public ContentMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Eight/ContentTypeBaseMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/ContentTypeBaseMigrationHandler.cs index 6827cd15..3bca78fd 100644 --- a/uSync.Migrations.Core/Handlers/Eight/ContentTypeBaseMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/ContentTypeBaseMigrationHandler.cs @@ -16,7 +16,8 @@ using uSync.Migrations.Core.Services; namespace uSync.Migrations.Core.Handlers.Eight; -internal class ContentTypeBaseMigrationHandler : SharedContentTypeBaseHandler + +public class ContentTypeBaseMigrationHandler : SharedContentTypeBaseHandler where TEntity : ContentTypeBase { public ContentTypeBaseMigrationHandler( diff --git a/uSync.Migrations.Core/Handlers/Eight/ContentTypeMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/ContentTypeMigrationHandler.cs index e5c7c976..c7c46a11 100644 --- a/uSync.Migrations.Core/Handlers/Eight/ContentTypeMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/ContentTypeMigrationHandler.cs @@ -13,7 +13,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "ContentTypes", TargetFolderName = "ContentTypes")] -internal class ContentTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler +public class ContentTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler { public ContentTypeMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Eight/DataTypeMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/DataTypeMigrationHandler.cs index e926dc4e..4bdf2ba5 100644 --- a/uSync.Migrations.Core/Handlers/Eight/DataTypeMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/DataTypeMigrationHandler.cs @@ -19,11 +19,12 @@ using uSync.Migrations.Core.Validation; namespace uSync.Migrations.Core.Handlers.Eight; + [SyncMigrationHandler(BackOfficeConstants.Groups.Settings, uSyncMigrations.Priorities.DataTypes, SourceVersion = 8, SourceFolderName = "DataTypes", TargetFolderName = "DataTypes")] -internal class DataTypeMigrationHandler : SharedDataTypeHandler, ISyncMigrationHandler, ISyncMigrationValidator +public class DataTypeMigrationHandler : SharedDataTypeHandler, ISyncMigrationHandler, ISyncMigrationValidator { private readonly SyncPropertyMigratorCollection _migrators; diff --git a/uSync.Migrations.Core/Handlers/Eight/DictionaryMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/DictionaryMigrationHandler.cs index 1d801828..4ec382b1 100644 --- a/uSync.Migrations.Core/Handlers/Eight/DictionaryMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/DictionaryMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "Dictionary", TargetFolderName = "Dictionary")] -internal class DictionaryMigrationHandler : SharedHandlerBase, ISyncMigrationHandler +public class DictionaryMigrationHandler : SharedHandlerBase, ISyncMigrationHandler { public DictionaryMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Eight/LanguageMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/LanguageMigrationHandler.cs index 01366da4..e54aefbf 100644 --- a/uSync.Migrations.Core/Handlers/Eight/LanguageMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/LanguageMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "Languages", TargetFolderName = "Languages")] -internal class LanguageMigrationHandler : SharedHandlerBase, ISyncMigrationHandler +public class LanguageMigrationHandler : SharedHandlerBase, ISyncMigrationHandler { public LanguageMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Eight/MacroMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/MacroMigrationHandler.cs index ee7959bf..fe72a18a 100644 --- a/uSync.Migrations.Core/Handlers/Eight/MacroMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/MacroMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "Macros", TargetFolderName = "Macros")] -internal class MacroMigrationHandler : SharedHandlerBase, ISyncMigrationHandler +public class MacroMigrationHandler : SharedHandlerBase, ISyncMigrationHandler { public MacroMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Eight/MediaMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/MediaMigrationHandler.cs index 1749f20f..23c692cf 100644 --- a/uSync.Migrations.Core/Handlers/Eight/MediaMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/MediaMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "Media", TargetFolderName = "Media")] -internal class MediaMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler +public class MediaMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler { public MediaMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Eight/MediaTypeMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/MediaTypeMigrationHandler.cs index 904fea1d..f5b1897f 100644 --- a/uSync.Migrations.Core/Handlers/Eight/MediaTypeMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/MediaTypeMigrationHandler.cs @@ -13,7 +13,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "MediaTypes", TargetFolderName = "MediaTypes")] -internal class MediaTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler +public class MediaTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler { public MediaTypeMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Eight/TemplateMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Eight/TemplateMigrationHandler.cs index 75609ba1..2dae1ca9 100644 --- a/uSync.Migrations.Core/Handlers/Eight/TemplateMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Eight/TemplateMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Eight; SourceVersion = 8, SourceFolderName = "Templates", TargetFolderName = "Templates")] -internal class TemplateMigrationHandler : SharedTemplateHandler, ISyncMigrationHandler +public class TemplateMigrationHandler : SharedTemplateHandler, ISyncMigrationHandler { public TemplateMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/MigrationHandlerBase.cs b/uSync.Migrations.Core/Handlers/MigrationHandlerBase.cs index 46849d6e..da2ebf64 100644 --- a/uSync.Migrations.Core/Handlers/MigrationHandlerBase.cs +++ b/uSync.Migrations.Core/Handlers/MigrationHandlerBase.cs @@ -16,7 +16,8 @@ using uSync.Migrations.Core.Services; namespace uSync.Migrations.Core.Handlers; -internal abstract class MigrationHandlerBase + +public abstract class MigrationHandlerBase where TObject : IEntity { protected readonly IEventAggregator _eventAggregator; diff --git a/uSync.Migrations.Core/Handlers/Seven/ContentBaseMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/ContentBaseMigrationHandler.cs index 85fdc759..cab4437b 100644 --- a/uSync.Migrations.Core/Handlers/Seven/ContentBaseMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/ContentBaseMigrationHandler.cs @@ -14,7 +14,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; -internal abstract class ContentBaseMigrationHandler : SharedContentBaseHandler +public abstract class ContentBaseMigrationHandler : SharedContentBaseHandler where TEntity : ContentBase { public ContentBaseMigrationHandler( diff --git a/uSync.Migrations.Core/Handlers/Seven/ContentMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/ContentMigrationHandler.cs index d1701b73..0a0659e7 100644 --- a/uSync.Migrations.Core/Handlers/Seven/ContentMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/ContentMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "Content", TargetFolderName = "Content")] -internal class ContentMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler +public class ContentMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler { public ContentMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Seven/ContentTypeBaseMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/ContentTypeBaseMigrationHandler.cs index dce99087..d3a5087f 100644 --- a/uSync.Migrations.Core/Handlers/Seven/ContentTypeBaseMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/ContentTypeBaseMigrationHandler.cs @@ -19,7 +19,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; -internal abstract class ContentTypeBaseMigrationHandler : SharedContentTypeBaseHandler +public abstract class ContentTypeBaseMigrationHandler : SharedContentTypeBaseHandler where TEntity : ContentTypeBase { diff --git a/uSync.Migrations.Core/Handlers/Seven/ContentTypeMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/ContentTypeMigrationHandler.cs index 24b0c950..be1d2547 100644 --- a/uSync.Migrations.Core/Handlers/Seven/ContentTypeMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/ContentTypeMigrationHandler.cs @@ -14,7 +14,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "DocumentType", TargetFolderName = "ContentTypes")] -internal class ContentTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler +public class ContentTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler { public ContentTypeMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Seven/DataTypeMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/DataTypeMigrationHandler.cs index ca502c0b..671a3f99 100644 --- a/uSync.Migrations.Core/Handlers/Seven/DataTypeMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/DataTypeMigrationHandler.cs @@ -25,7 +25,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "DataType", TargetFolderName = "DataTypes")] -internal class DataTypeMigrationHandler : SharedDataTypeHandler, ISyncMigrationHandler, ISyncMigrationValidator +public class DataTypeMigrationHandler : SharedDataTypeHandler, ISyncMigrationHandler, ISyncMigrationValidator { private readonly SyncPropertyMigratorCollection _migrators; diff --git a/uSync.Migrations.Core/Handlers/Seven/DictionaryMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/DictionaryMigrationHandler.cs index 45a6a606..daf46ada 100644 --- a/uSync.Migrations.Core/Handlers/Seven/DictionaryMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/DictionaryMigrationHandler.cs @@ -20,7 +20,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "DictionaryItem", TargetFolderName = "Dictionary")] -internal class DictionaryMigrationHandler : SharedHandlerBase, ISyncMigrationHandler +public class DictionaryMigrationHandler : SharedHandlerBase, ISyncMigrationHandler { public DictionaryMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Seven/LanguageMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/LanguageMigrationHandler.cs index 3121d967..86d8b3e8 100644 --- a/uSync.Migrations.Core/Handlers/Seven/LanguageMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/LanguageMigrationHandler.cs @@ -17,7 +17,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; [SyncMigrationHandler(BackOfficeConstants.Groups.Settings, uSyncMigrations.Priorities.Languages, SourceVersion = 7, SourceFolderName = "Languages", TargetFolderName = "Languages")] -internal class LanguageMigrationHandler : SharedHandlerBase, ISyncMigrationHandler +public class LanguageMigrationHandler : SharedHandlerBase, ISyncMigrationHandler { private readonly ILocalizationService _localizationService; diff --git a/uSync.Migrations.Core/Handlers/Seven/MacroMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/MacroMigrationHandler.cs index 3ee0fd18..f094f966 100644 --- a/uSync.Migrations.Core/Handlers/Seven/MacroMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/MacroMigrationHandler.cs @@ -16,7 +16,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "Macro", TargetFolderName = "Macros")] -internal class MacroMigrationHandler : SharedHandlerBase, ISyncMigrationHandler +public class MacroMigrationHandler : SharedHandlerBase, ISyncMigrationHandler { public MacroMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Seven/MediaMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/MediaMigrationHandler.cs index f0ac02cf..799d9e66 100644 --- a/uSync.Migrations.Core/Handlers/Seven/MediaMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/MediaMigrationHandler.cs @@ -12,7 +12,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "Media", TargetFolderName = "Media")] -internal class MediaMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler +public class MediaMigrationHandler : ContentBaseMigrationHandler, ISyncMigrationHandler { public MediaMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Seven/MediaTypeMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/MediaTypeMigrationHandler.cs index f7ac50f4..b23c8c66 100644 --- a/uSync.Migrations.Core/Handlers/Seven/MediaTypeMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/MediaTypeMigrationHandler.cs @@ -14,7 +14,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "MediaType", TargetFolderName = "MediaTypes")] -internal class MediaTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler +public class MediaTypeMigrationHandler : ContentTypeBaseMigrationHandler, ISyncMigrationHandler { public MediaTypeMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Seven/TemplateMigrationHandler.cs b/uSync.Migrations.Core/Handlers/Seven/TemplateMigrationHandler.cs index 84c45e27..323b99f5 100644 --- a/uSync.Migrations.Core/Handlers/Seven/TemplateMigrationHandler.cs +++ b/uSync.Migrations.Core/Handlers/Seven/TemplateMigrationHandler.cs @@ -16,7 +16,7 @@ namespace uSync.Migrations.Core.Handlers.Seven; SourceVersion = 7, SourceFolderName = "Template", TargetFolderName = "Templates")] -internal class TemplateMigrationHandler : SharedTemplateHandler, ISyncMigrationHandler +public class TemplateMigrationHandler : SharedTemplateHandler, ISyncMigrationHandler { public TemplateMigrationHandler( IEventAggregator eventAggregator, diff --git a/uSync.Migrations.Core/Handlers/Shared/SharedContentBaseHandler.cs b/uSync.Migrations.Core/Handlers/Shared/SharedContentBaseHandler.cs index 126c3a96..e95c5ce2 100644 --- a/uSync.Migrations.Core/Handlers/Shared/SharedContentBaseHandler.cs +++ b/uSync.Migrations.Core/Handlers/Shared/SharedContentBaseHandler.cs @@ -17,7 +17,8 @@ using uSync.Migrations.Core.Services; namespace uSync.Migrations.Core.Handlers.Shared; -internal abstract class SharedContentBaseHandler : SharedHandlerBase + +public abstract class SharedContentBaseHandler : SharedHandlerBase where TEntity : ContentBase { protected readonly IShortStringHelper _shortStringHelper; diff --git a/uSync.Migrations.Core/Handlers/Shared/SharedContentTypeBaseHandler.cs b/uSync.Migrations.Core/Handlers/Shared/SharedContentTypeBaseHandler.cs index b590706c..35c3f682 100644 --- a/uSync.Migrations.Core/Handlers/Shared/SharedContentTypeBaseHandler.cs +++ b/uSync.Migrations.Core/Handlers/Shared/SharedContentTypeBaseHandler.cs @@ -17,7 +17,8 @@ using uSync.Migrations.Core.Services; namespace uSync.Migrations.Core.Handlers.Shared; -internal abstract class SharedContentTypeBaseHandler : SharedHandlerBase + +public abstract class SharedContentTypeBaseHandler : SharedHandlerBase where TEntity : ContentTypeBase { private readonly IDataTypeService _dataTypeService; diff --git a/uSync.Migrations.Core/Handlers/Shared/SharedDataTypeHandler.cs b/uSync.Migrations.Core/Handlers/Shared/SharedDataTypeHandler.cs index 85b2813c..0946dbc8 100644 --- a/uSync.Migrations.Core/Handlers/Shared/SharedDataTypeHandler.cs +++ b/uSync.Migrations.Core/Handlers/Shared/SharedDataTypeHandler.cs @@ -16,7 +16,8 @@ using uSync.Migrations.Core.Services; namespace uSync.Migrations.Core.Handlers.Shared; -internal abstract class SharedDataTypeHandler : SharedHandlerBase + +public abstract class SharedDataTypeHandler : SharedHandlerBase { protected readonly IDataTypeService _dataTypeService; protected readonly JsonSerializerSettings _jsonSerializerSettings; diff --git a/uSync.Migrations.Core/Handlers/Shared/SharedHandlerBase.cs b/uSync.Migrations.Core/Handlers/Shared/SharedHandlerBase.cs index e09dcf35..0a8d94f3 100644 --- a/uSync.Migrations.Core/Handlers/Shared/SharedHandlerBase.cs +++ b/uSync.Migrations.Core/Handlers/Shared/SharedHandlerBase.cs @@ -20,7 +20,7 @@ namespace uSync.Migrations.Core.Handlers.Shared; /// /// v7 migrators override the default behavors, to do the migrations. /// -internal abstract class SharedHandlerBase : MigrationHandlerBase +public abstract class SharedHandlerBase : MigrationHandlerBase where TObject : IEntity { protected SharedHandlerBase( diff --git a/uSync.Migrations.Core/Handlers/Shared/SharedTemplateHandler.cs b/uSync.Migrations.Core/Handlers/Shared/SharedTemplateHandler.cs index a57d2694..2276493e 100644 --- a/uSync.Migrations.Core/Handlers/Shared/SharedTemplateHandler.cs +++ b/uSync.Migrations.Core/Handlers/Shared/SharedTemplateHandler.cs @@ -14,7 +14,7 @@ namespace uSync.Migrations.Core.Handlers.Shared; /// /// stuff that is the same in v7 and v8 template migrations. /// -internal abstract class SharedTemplateHandler : SharedHandlerBase