Class ReplyToHelloWorldCommandHandler
Handles the ReplyToHelloWorldCommand.
Inheritance
System.Object
ReplyToHelloWorldCommandHandler
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.Commands.Handlers
Assembly: Cqrs.Akka.Tests.Unit.dll
Syntax
public class ReplyToHelloWorldCommandHandler : ICommandHandler<Guid, ReplyToHelloWorldCommand>, IMessageHandler<ReplyToHelloWorldCommand>, ICommandHandle, IHandler
Constructors
ReplyToHelloWorldCommandHandler(IAkkaAggregateResolver)
Instantiates the ReplyToHelloWorldCommandHandler class registering any Akka.Actor.ReceiveActor.Receive<T>(System.Func<T, System.Threading.Tasks.Task>) required.
Declaration
public ReplyToHelloWorldCommandHandler(IAkkaAggregateResolver aggregateResolver)
Parameters
Type | Name | Description |
---|---|---|
IAkkaAggregateResolver | aggregateResolver |
Properties
AggregateResolver
Resolves Akka.Net actor based IAggregateRoot<TAuthenticationToken>
Declaration
protected IAkkaAggregateResolver AggregateResolver { get; }
Property Value
Type | Description |
---|---|
IAkkaAggregateResolver |
Methods
Handle(ReplyToHelloWorldCommand)
Responds to the provided command
.
Declaration
public void Handle(ReplyToHelloWorldCommand command)
Parameters
Type | Name | Description |
---|---|---|
ReplyToHelloWorldCommand | command | The ReplyToHelloWorldCommand to respond to or "handle" |