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