public ISurrogated FromSurrogate(ActorSystem system) => SerializationTools.ToSourceRefImpl((ExtendedActorSystem)system, EventType, OriginPath);
private SourceRefImpl DeserializeSourceRef(byte[] bytes) { var sourceRef = SourceRef.Parser.ParseFrom(bytes); return(SerializationTools.ToSourceRefImpl(_system, sourceRef.EventType.TypeName, sourceRef.OriginRef.Path)); }