Sdl.Web.Tridion/ContentManager/TcmUri.cs
/// <summary>
/// Gets a value indicating the Repository.
/// </summary>
/// <returns>A <see cref="TcmUri"/> containing the Repository.</returns>
Gets a value indicating the Repository.
Gets a value indicating the Repository .
public TcmUri GetContextRepositoryUri()
        {
            if (_itemType == ItemType.Publication)
            {
                return this;
            }
            return _publicationId == 0 ? SystemRepositoryUri : new TcmUri((int)_publicationId, ItemType.Publication);
        }
public TcmUri GetContextRepositoryUri ( ) { if ( _itemType == ItemType . Publication ) { return this ; } return _publicationId == 0 ? SystemRepositoryUri : new TcmUri ( ( int ) _publicationId , ItemType . Publication ) ; }
Gets a value indicating the Repository.
Gets a value indicating the Repository .
A  containing the Repository.
A containing the Repository .