public override string ToString()
{
if (Routee is ActorRefRoutee)
{
var actorRef = Routee as ActorRefRoutee;
return ToStringWithFullAddress(actorRef.Actor.Path);
}
else if (Routee is ActorSelectionRoutee)
{
var selection = Routee as ActorSelectionRoutee;
return ToStringWithFullAddress(selection.Selection.Anchor.Path) + selection.Selection.PathString;
}
else
{
return Routee.ToString();
}
}