public TcmUri ToPublication(TcmUri targetUri) { int pubId = targetUri.ItemTypeId == 1 ? targetUri.ItemId : targetUri.PublicationId; return(new TcmUri(pubId, ItemId, ItemTypeId, Version)); }