Browse Source

Implement ITransientDependency for EntitySynchronizer

pull/15134/head
Halil İbrahim Kalkan 4 years ago
parent
commit
d617198d2d
  1. 9
      framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntitySynchronizer.cs

9
framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntitySynchronizer.cs

@ -1,9 +1,7 @@
using System; using System.Threading.Tasks;
using System.ComponentModel;
using System.Globalization;
using System.Threading.Tasks;
using JetBrains.Annotations; using JetBrains.Annotations;
using Volo.Abp.Auditing; using Volo.Abp.Auditing;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories; using Volo.Abp.Domain.Repositories;
using Volo.Abp.EventBus.Distributed; using Volo.Abp.EventBus.Distributed;
using Volo.Abp.ObjectMapping; using Volo.Abp.ObjectMapping;
@ -33,7 +31,8 @@ public abstract class EntitySynchronizer<TEntity, TKey, TSourceEntityEto> :
public abstract class EntitySynchronizer<TEntity, TSourceEntityEto> : public abstract class EntitySynchronizer<TEntity, TSourceEntityEto> :
IDistributedEventHandler<EntityCreatedEto<TSourceEntityEto>>, IDistributedEventHandler<EntityCreatedEto<TSourceEntityEto>>,
IDistributedEventHandler<EntityUpdatedEto<TSourceEntityEto>>, IDistributedEventHandler<EntityUpdatedEto<TSourceEntityEto>>,
IDistributedEventHandler<EntityDeletedEto<TSourceEntityEto>> IDistributedEventHandler<EntityDeletedEto<TSourceEntityEto>>,
ITransientDependency
where TEntity : class, IEntity where TEntity : class, IEntity
{ {
protected IObjectMapper ObjectMapper { get; } protected IObjectMapper ObjectMapper { get; }

Loading…
Cancel
Save