Table of Contents

Class EventHandlerBase<TEvent>

Namespace
CarrotMQ.Core.Handlers
Assembly
CarrotMQ.Core.dll

Represents a base class for event handlers. <br /> Your EventHandler must inherit from this base class

public abstract class EventHandlerBase<TEvent> : HandlerBase<TEvent, NoResponse> where TEvent : _IMessage<TEvent, NoResponse>

Type Parameters

TEvent

The type of the event being handled.

Inheritance
EventHandlerBase<TEvent>
Inherited Members

Constructors

EventHandlerBase()

protected EventHandlerBase()

Methods

Ok()

Creates a handler result indicating that the event processing is successful. The message wil be acked

public IHandlerResult Ok()

Returns

IHandlerResult