public EntityToEtoMapper( IOptions <AbpDistributedEntityEventOptions> options, IServiceScopeFactory hybridServiceScopeFactory) { HybridServiceScopeFactory = hybridServiceScopeFactory; Options = options.Value; }
public EntityChangeEventHelper( IUnitOfWorkManager unitOfWorkManager, IEntityToEtoMapper entityToEtoMapper, IOptions <AbpDistributedEntityEventOptions> distributedEntityEventOptions) { UnitOfWorkManager = unitOfWorkManager; EntityToEtoMapper = entityToEtoMapper; DistributedEntityEventOptions = distributedEntityEventOptions.Value; LocalEventBus = NullLocalEventBus.Instance; DistributedEventBus = NullDistributedEventBus.Instance; Logger = NullLogger <EntityChangeEventHelper> .Instance; }