src/Rukbat/Common/Gimela.Rukbat.DomainModels/Base/BaseObject.cs
/// <summary>
/// Determines whether the specified <see cref="System.Object"/> 
/// is equal to this instance.
/// </summary>
/// <param name="obj">The <see cref="System.Object"/> 
/// to compare with this instance.</param>
/// <returns>
/// 	<c>true</c> if the specified <see cref="System.Object"/> 
/// 	is equal to this instance; otherwise, <c>false</c>.
/// </returns>
/// <exception cref="T:System.NullReferenceException">
/// The <paramref name="obj"/> parameter is null.
/// </exception>
Determines whether the specified
is equal to this instance.
Determines whether the specified is equal to this instance .
public override bool Equals(object obj)
    {
      if (!(obj is BaseObject))
      {
        return false;
      }
      BaseObject t = (BaseObject)obj;
      return t.Id == this.Id;
    }
public override bool Equals ( object obj ) { if ( ! ( obj is BaseObject ) ) { return false ; } BaseObject t = ( BaseObject ) obj ; return t . Id == this . Id ; }
Determines whether the specified
is equal to this instance.
Determines whether the specified is equal to this instance .
true
is equal to this instance; otherwise, false
true is equal to this instance ; otherwise false
The  parameter is null.
The parameter is null .
obj
object
The
to compare with this instance.
The to compare with this instance .