Akka.Cluster.Tests.Routing.ClusterRouterSupervisorSpec.RestartableActor.RestartableActor C# (CSharp) Method

RestartableActor() public method

public RestartableActor ( IActorRef testActor ) : System
testActor IActorRef
return System
            public RestartableActor(IActorRef testActor)
            {
                TestActor = testActor;
                Receive<string>(s => s == "go away", s =>
                {
                    throw new ArgumentException("Goodbye then!");
                });
            }
        }
ClusterRouterSupervisorSpec.RestartableActor