public static SurrogateForIRequestTarget Convert(IRequestTarget value)
{
// used for sending an bound actor-ref to client.
if (value == null)
return null;
var target = ((BoundActorTarget)value);
return new SurrogateForIRequestTarget { Id = target.Id, Address = target.Address };
}