Sdl.Web.Tridion/ContentManager/TcmUri.cs
/// <summary>
/// Determines whether the specified <see cref="TcmUri"/> is equal to the current <see cref="TcmUri"/>.  
/// </summary>
/// <param name="obj">The <see cref="TcmUri"/> to compare with the current <see cref="TcmUri"/>.</param>
/// <returns><see langword="true"/> if the specified <see cref="TcmUri"/> is equal to the current <see cref="TcmUri"/>; otherwise, <see langword="false"/>.</returns>
Determines whether the specified  is equal to the current .
Determines whether the specified is equal to the current .
public override bool Equals(object obj)
        {
            if (obj is TcmUri)
            {
                TcmUri anotherUri = (TcmUri) obj;
                return (this == anotherUri);
            }
            return false;
        }
public override bool Equals ( object obj ) { if ( obj is TcmUri ) { TcmUri anotherUri = ( TcmUri ) obj ; return ( this == anotherUri ) ; } return false ; }
Determines whether the specified  is equal to the current .
Determines whether the specified is equal to the current .
if the specified  is equal to the current ; otherwise, .
if the specified is equal to the current ; otherwise .
obj
object
The  to compare with the current .
The to compare with the current .