Class EndConversationCommandHandler
Handles the EndConversationCommand.
Inheritance
System.Object
EndConversationCommandHandler
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 EndConversationCommandHandler : ICommandHandler<Guid, EndConversationCommand>, IMessageHandler<EndConversationCommand>, ICommandHandle, IHandler
Constructors
EndConversationCommandHandler(IAkkaAggregateResolver)
Instantiates the EndConversationCommandHandler class registering any Akka.Actor.ReceiveActor.Receive<T>(System.Func<T, System.Threading.Tasks.Task>) required.
Declaration
public EndConversationCommandHandler(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(EndConversationCommand)
Responds to the provided command
.
Declaration
public void Handle(EndConversationCommand command)
Parameters
Type | Name | Description |
---|---|---|
EndConversationCommand | command | The EndConversationCommand to respond to or "handle" |