public static SurrogateForIRequestTarget Convert(IRequestTarget value)
{
if (value == null)
return null;
var actor = (IActorRef)(((AkkaReceiverTarget)value).Receiver);
var path = ((ActorRefBase.Surrogate)actor.ToSurrogate(CurrentSystem)).Path;
return new SurrogateForIRequestTarget { Path = path };
}