Show / Hide Table of Contents

Class DocumentChangedEventHandler

Inheritance
object
DocumentChangedEventHandler
Implements
ILocalEventHandler<EntityCreatedEventData<Document>>
ILocalEventHandler<EntityUpdatedEventData<Document>>
ILocalEventHandler<EntityDeletedEventData<Document>>
IEventHandler
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Docs.Documents.FullSearch.Elastic
Assembly: Volo.Docs.Domain.dll
Syntax
public class DocumentChangedEventHandler : ILocalEventHandler<EntityCreatedEventData<Document>>, ILocalEventHandler<EntityUpdatedEventData<Document>>, ILocalEventHandler<EntityDeletedEventData<Document>>, IEventHandler, ITransientDependency

Constructors

DocumentChangedEventHandler(IDocumentFullSearch, IOptions<DocsElasticSearchOptions>)

Declaration
public DocumentChangedEventHandler(IDocumentFullSearch documentFullSearch, IOptions<DocsElasticSearchOptions> options)
Parameters
Type Name Description
IDocumentFullSearch documentFullSearch
IOptions<DocsElasticSearchOptions> options

Methods

HandleEventAsync(EntityCreatedEventData<Document>)

Declaration
public Task HandleEventAsync(EntityCreatedEventData<Document> eventData)
Parameters
Type Name Description
EntityCreatedEventData<Document> eventData
Returns
Type Description
Task

HandleEventAsync(EntityDeletedEventData<Document>)

Declaration
public Task HandleEventAsync(EntityDeletedEventData<Document> eventData)
Parameters
Type Name Description
EntityDeletedEventData<Document> eventData
Returns
Type Description
Task

HandleEventAsync(EntityUpdatedEventData<Document>)

Declaration
public Task HandleEventAsync(EntityUpdatedEventData<Document> eventData)
Parameters
Type Name Description
EntityUpdatedEventData<Document> eventData
Returns
Type Description
Task

Implements

ILocalEventHandler<TEvent>
ILocalEventHandler<TEvent>
ILocalEventHandler<TEvent>
IEventHandler
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform