Class ShortenedUrlEntityChangeEventHandler
Implements
IEventHandler
ITransientDependency
Inherited Members
Namespace: Volo.CmsKit.Public.UrlShorting
Assembly: Volo.CmsKit.Pro.Public.Application.dll
Syntax
public class ShortenedUrlEntityChangeEventHandler : ILocalEventHandler<EntityCreatedEventData<ShortenedUrl>>, IEventHandler, ILocalEventHandler<EntityUpdatedEventData<ShortenedUrl>>, ILocalEventHandler<EntityDeletedEventData<ShortenedUrl>>, ITransientDependency
Constructors
ShortenedUrlEntityChangeEventHandler(IDistributedCache<ShortenedUrlCacheItem, string>)
Declaration
public ShortenedUrlEntityChangeEventHandler(IDistributedCache<ShortenedUrlCacheItem, string> shortenedUrlCache)
Parameters
Type | Name | Description |
---|---|---|
IDistributedCache<ShortenedUrlCacheItem, string> | shortenedUrlCache |
Methods
HandleEventAsync(EntityCreatedEventData<ShortenedUrl>)
Declaration
public Task HandleEventAsync(EntityCreatedEventData<ShortenedUrl> eventData)
Parameters
Type | Name | Description |
---|---|---|
EntityCreatedEventData<ShortenedUrl> | eventData |
Returns
Type | Description |
---|---|
Task |
HandleEventAsync(EntityDeletedEventData<ShortenedUrl>)
Declaration
public Task HandleEventAsync(EntityDeletedEventData<ShortenedUrl> eventData)
Parameters
Type | Name | Description |
---|---|---|
EntityDeletedEventData<ShortenedUrl> | eventData |
Returns
Type | Description |
---|---|
Task |
HandleEventAsync(EntityUpdatedEventData<ShortenedUrl>)
Declaration
public Task HandleEventAsync(EntityUpdatedEventData<ShortenedUrl> eventData)
Parameters
Type | Name | Description |
---|---|---|
EntityUpdatedEventData<ShortenedUrl> | eventData |
Returns
Type | Description |
---|---|
Task |
Implements
Volo.Abp.EventBus.ILocalEventHandler<>
Volo.Abp.EventBus.IEventHandler
Volo.Abp.EventBus.ILocalEventHandler<>
Volo.Abp.EventBus.ILocalEventHandler<>
Volo.Abp.DependencyInjection.ITransientDependency