Akka.Persistence.Tests.PersistentActorSpec.ReplyInEventHandlerActor.ReceiveCommand C# (CSharp) Method

ReceiveCommand() protected method

protected ReceiveCommand ( object message ) : bool
message object
return bool
            protected override bool ReceiveCommand(object message)
            {
                if (message is Cmd) Persist(new Evt("a"), evt => Sender.Tell(evt.Data));
                else return false;
                return true;
            }
        }
PersistentActorSpec.ReplyInEventHandlerActor