Akka.Tests.Actor.LocalActorRefProviderSpec.ActorWithDuplicateChild.Receive C# (CSharp) Method

Receive() protected method

protected Receive ( object message ) : bool
message object
return bool
            protected override bool Receive(object message)
            {
                if (message as string == "")
                {
                    var a = Context.ActorOf(Props.Empty, "duplicate");
                    var b = Context.ActorOf(Props.Empty, "duplicate");
                    return true;
                }
                return false;
            }
        }
LocalActorRefProviderSpec.ActorWithDuplicateChild