Esempio n. 1
0
            public static SurrogateForIActorRef Convert(IActorRef value)
            {
                if (value == null)
                    return null;

                var path = ((ActorRefBase.Surrogate)value.ToSurrogate(CurrentSystem)).Path;
                return new SurrogateForIActorRef { Path = path };
            }
Esempio n. 2
0
            public static SurrogateForIActorRef Convert(IActorRef value)
            {
                if (value == null)
                {
                    return(null);
                }

                var path = ((ActorRefBase.Surrogate)value.ToSurrogate(CurrentSystem)).Path;

                return(new SurrogateForIActorRef {
                    Path = path
                });
            }
Esempio n. 3
0
 public ISurrogate ToSurrogate(ActorSystem system)
 {
     return(_delegate.ToSurrogate(system));
 }
Esempio n. 4
0
 public ISurrogate ToSurrogate(ActorSystem system)
 {
     return(_wrappedRef.ToSurrogate(system));
 }