Пример #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 };
            }
Пример #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
                });
            }
Пример #3
0
 public ISurrogate ToSurrogate(ActorSystem system)
 {
     return(_delegate.ToSurrogate(system));
 }
Пример #4
0
 public ISurrogate ToSurrogate(ActorSystem system)
 {
     return(_wrappedRef.ToSurrogate(system));
 }