Esempio n. 1
0
 public GuidPingActor(GuidTestResults testResults, int maxPings)
 {
     _testResults = testResults;
     _maxPings    = maxPings;
     _pong        = ChildActorFor <IPong>(() => new GuidPongActor(testResults));
     _pings       = 0;
     _ping        = SelfAs <IPing>();
 }
Esempio n. 2
0
 public void Handle(IPong message)
 {
     Console.WriteLine("Pong");
 }
Esempio n. 3
0
        public void ShouldNotResolvePong()
        {
            IPong pong = _provider.GetService <IPong>();

            Assert.Null(pong);
        }