Class ShortenedUrlEntityChangeEventHandler
Inheritance
ShortenedUrlEntityChangeEventHandler
Assembly: Volo.CmsKit.Pro.Public.Application.dll
Syntax
public class ShortenedUrlEntityChangeEventHandler : ILocalEventHandler<EntityCreatedEventData<ShortenedUrl>>, ILocalEventHandler<EntityUpdatedEventData<ShortenedUrl>>, ILocalEventHandler<EntityDeletedEventData<ShortenedUrl>>, IEventHandler, ITransientDependency
Constructors
ShortenedUrlEntityChangeEventHandler(IDistributedCache<ShortenedUrlCacheItem, string>)
Declaration
public ShortenedUrlEntityChangeEventHandler(IDistributedCache<ShortenedUrlCacheItem, string> shortenedUrlCache)
Parameters
Methods
HandleEventAsync(EntityCreatedEventData<ShortenedUrl>)
Declaration
public Task HandleEventAsync(EntityCreatedEventData<ShortenedUrl> eventData)
Parameters
Returns
HandleEventAsync(EntityDeletedEventData<ShortenedUrl>)
Declaration
public Task HandleEventAsync(EntityDeletedEventData<ShortenedUrl> eventData)
Parameters
Returns
HandleEventAsync(EntityUpdatedEventData<ShortenedUrl>)
Declaration
public Task HandleEventAsync(EntityUpdatedEventData<ShortenedUrl> eventData)
Parameters
Returns
Implements
Extension Methods