Class HelloWorld
An Akka.Net actor based IAggregateRoot<TAuthenticationToken> that represents a conversation.
Inheritance
System.Object
Akka.Actor.ActorBase
Akka.Actor.UntypedActor
Akka.Actor.ReceiveActor
AkkaAggregateRoot<System.Guid>
HelloWorld
Inherited Members
Akka.Actor.ReceiveActor.Akka.Actor.Internal.IInitializableActor.Init()
Akka.Actor.ReceiveActor.OnReceive(System.Object)
Akka.Actor.ReceiveActor.Become(System.Action)
Akka.Actor.ReceiveActor.BecomeStacked(System.Action)
Akka.Actor.ReceiveActor.Become(System.Action, System.Boolean)
Akka.Actor.ReceiveActor.Receive<T>(System.Func<T, System.Threading.Tasks.Task>)
Akka.Actor.ReceiveActor.Receive<T>(System.Action<T>, System.Predicate<T>)
Akka.Actor.ReceiveActor.Receive<T>(System.Predicate<T>, System.Action<T>)
Akka.Actor.ReceiveActor.Receive(System.Type, System.Action<System.Object>, System.Predicate<System.Object>)
Akka.Actor.ReceiveActor.Receive(System.Type, System.Predicate<System.Object>, System.Action<System.Object>)
Akka.Actor.ReceiveActor.Receive<T>(System.Func<T, System.Boolean>)
Akka.Actor.ReceiveActor.Receive(System.Type, System.Func<System.Object, System.Boolean>)
Akka.Actor.ReceiveActor.ReceiveAny(System.Action<System.Object>)
Akka.Actor.UntypedActor.Receive(System.Object)
Akka.Actor.UntypedActor.RunTask(System.Action)
Akka.Actor.UntypedActor.RunTask(System.Func<System.Threading.Tasks.Task>)
Akka.Actor.UntypedActor.Become(Akka.Actor.UntypedReceive, System.Boolean)
Akka.Actor.UntypedActor.Become(Akka.Actor.UntypedReceive)
Akka.Actor.UntypedActor.BecomeStacked(Akka.Actor.UntypedReceive)
Akka.Actor.UntypedActor.Context
Akka.Actor.ActorBase.AroundReceive(Akka.Actor.Receive, System.Object)
Akka.Actor.ActorBase.Unhandled(System.Object)
Akka.Actor.ActorBase.Become(Akka.Actor.Receive, System.Boolean)
Akka.Actor.ActorBase.Become(Akka.Actor.Receive)
Akka.Actor.ActorBase.BecomeStacked(Akka.Actor.Receive)
Akka.Actor.ActorBase.UnbecomeStacked()
Akka.Actor.ActorBase.Unbecome()
Akka.Actor.ActorBase.SetReceiveTimeout(System.Nullable<System.TimeSpan>)
Akka.Actor.ActorBase.SupervisorStrategy()
Akka.Actor.ActorBase.AroundPreRestart(System.Exception, System.Object)
Akka.Actor.ActorBase.AroundPreStart()
Akka.Actor.ActorBase.AroundPostRestart(System.Exception, System.Object)
Akka.Actor.ActorBase.PreRestart(System.Exception, System.Object)
Akka.Actor.ActorBase.PostRestart(System.Exception)
Akka.Actor.ActorBase.AroundPostStop()
Akka.Actor.ActorBase.PostStop()
Akka.Actor.ActorBase.Sender
Akka.Actor.ActorBase.Self
Akka.Actor.ActorBase.Akka.Actor.IInternalActor.ActorContext
Akka.Actor.ActorBase.EmptyReceive
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.Aggregates
Assembly: Cqrs.Akka.Tests.Unit.dll
Syntax
public class HelloWorld : AkkaAggregateRoot<Guid>, IInternalActor, IInitializableActor, IAggregateRoot<Guid>
Constructors
HelloWorld(IDependencyResolver, ILogger, Guid)
Instantiates a new instance of HelloWorld.
Declaration
public HelloWorld(IDependencyResolver dependencyResolver, ILogger logger, Guid rsn)
Parameters
Type | Name | Description |
---|---|---|
IDependencyResolver | dependencyResolver | |
cdmdotnet.Logging.ILogger | logger | |
System.Guid | rsn |
Properties
DependencyResolver
The IDependencyResolver that resolves things.
Declaration
protected IDependencyResolver DependencyResolver { get; }
Property Value
Type | Description |
---|---|
IDependencyResolver |
IsLogicallyDeleted
Indicates if this ISaga<TAuthenticationToken> has been deleted.
Declaration
public bool IsLogicallyDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Rsn
The Id.
Declaration
public Guid Rsn { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Methods
EndConversation()
Raises a ConversationEnded.
Declaration
public virtual void EndConversation()
EndConversation(EndConversationCommand)
Raises a ConversationEnded.
Declaration
public virtual void EndConversation(EndConversationCommand command)
Parameters
Type | Name | Description |
---|---|---|
EndConversationCommand | command |
ReplyToHelloWorld()
Raises a HelloWorldRepliedTo.
Declaration
public virtual void ReplyToHelloWorld()
ReplyToHelloWorld(ReplyToHelloWorldCommand)
Raises a HelloWorldRepliedTo.
Declaration
public virtual void ReplyToHelloWorld(ReplyToHelloWorldCommand command)
Parameters
Type | Name | Description |
---|---|---|
ReplyToHelloWorldCommand | command |
SayHello()
Raises a HelloWorldSaid.
Declaration
public virtual void SayHello()
SayHello(SayHelloWorldCommand)
Raises a HelloWorldSaid.
Declaration
public virtual void SayHello(SayHelloWorldCommand command)
Parameters
Type | Name | Description |
---|---|---|
SayHelloWorldCommand | command |