Class HelloWorldSaidEventHandler
Handles the HelloWorldSaid.
Inheritance
System.Object
HelloWorldSaidEventHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Akka.Tests.Unit.Events.Handlers
Assembly: Cqrs.Akka.Tests.Unit.dll
Syntax
public class HelloWorldSaidEventHandler : IEventHandler<Guid, HelloWorldSaid>, IMessageHandler<HelloWorldSaid>, IEventHandler, IHandler
Constructors
HelloWorldSaidEventHandler(IAkkaCommandPublisher<Guid>)
Instantiates a new instance of HelloWorldSaidEventHandler.
Declaration
public HelloWorldSaidEventHandler(IAkkaCommandPublisher<Guid> commandBus)
Parameters
Type | Name | Description |
---|---|---|
IAkkaCommandPublisher<System.Guid> | commandBus |
Properties
CommandBus
Publish any ICommand<TAuthenticationToken> instances that you want to send with this.
Declaration
protected ICommandPublisher<Guid> CommandBus { get; }
Property Value
Type | Description |
---|---|
ICommandPublisher<System.Guid> |
Methods
Handle(HelloWorldSaid)
Responds to the provided message
.
Declaration
public void Handle(HelloWorldSaid message)
Parameters
Type | Name | Description |
---|---|---|
HelloWorldSaid | message | The ReplyToHelloWorldCommand to respond to or "handle" |