Пример #1
0
        public TcmUri ToPublication(TcmUri targetUri)
        {
            int pubId = targetUri.ItemTypeId == 1 ? targetUri.ItemId : targetUri.PublicationId;

            return(new TcmUri(pubId, ItemId, ItemTypeId, Version));
        }