diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntitySynchronizer.cs b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntitySynchronizer.cs index c5f3f58542..7f37db32a2 100644 --- a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntitySynchronizer.cs +++ b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntitySynchronizer.cs @@ -1,9 +1,7 @@ -using System; -using System.ComponentModel; -using System.Globalization; -using System.Threading.Tasks; +using System.Threading.Tasks; using JetBrains.Annotations; using Volo.Abp.Auditing; +using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Repositories; using Volo.Abp.EventBus.Distributed; using Volo.Abp.ObjectMapping; @@ -33,7 +31,8 @@ public abstract class EntitySynchronizer : public abstract class EntitySynchronizer : IDistributedEventHandler>, IDistributedEventHandler>, - IDistributedEventHandler> + IDistributedEventHandler>, + ITransientDependency where TEntity : class, IEntity { protected IObjectMapper ObjectMapper { get; }