samples/server/petstore/aspnetcore/src/IO.Swagger/Models/Order.cs
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="obj">Object to be compared</param>
/// <returns>Boolean</returns>
Returns true if objects are equal
Returns true if objects are equal
public override bool Equals(object obj)
        {
            if (ReferenceEquals(null, obj)) return false;
            if (ReferenceEquals(this, obj)) return true;
            return obj.GetType() == GetType() && Equals((Order)obj);
        }
public override bool Equals ( object obj ) { if ( ReferenceEquals ( null , obj ) ) return false ; if ( ReferenceEquals ( this , obj ) ) return true ; return obj . GetType ( ) == GetType ( ) && Equals ( ( Order ) obj ) ; }
Returns true if objects are equal
Returns true if objects are equal
None
obj
object
Object to be compared
Object to be compared