Akka.Tests.Actor.HotSwapSpec.HotSwapWithBecome.HotSwapWithBecome C# (CSharp) Method

HotSwapWithBecome() public method

public HotSwapWithBecome ( ) : System
return System
            public HotSwapWithBecome() {

                Receive<string>(m => "init".Equals(m), (m) => Sender.Tell("init"));
                Receive<string>(m => "swap".Equals(m), (m) => {
                    Become(() => Receive<string>(x => Sender.Tell(x)));
                });
            }
        }
HotSwapSpec.HotSwapWithBecome