samples/server/petstore/aspnetcore/src/IO.Swagger/Models/NullableEnumModel.cs
/// <summary>
/// Returns true if NullableEnumModel instances are equal
/// </summary>
/// <param name="other">Instance of NullableEnumModel to be compared</param>
/// <returns>Boolean</returns>
Returns true if NullableEnumModel instances are equal
Returns true if NullableEnumModel instances are equal
public bool Equals(NullableEnumModel other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;
            return 
                (
                    EnumProp == other.EnumProp ||
                    EnumProp != null &&
                    EnumProp.Equals(other.EnumProp)
                );
        }
public bool Equals ( NullableEnumModel other ) { if ( ReferenceEquals ( null , other ) ) return false ; if ( ReferenceEquals ( this , other ) ) return true ; return ( EnumProp == other . EnumProp || EnumProp != null && EnumProp . Equals ( other . EnumProp ) ) ; }
Returns true if NullableEnumModel instances are equal
Returns true if NullableEnumModel instances are equal
None
other
NullableEnumModel
Instance of NullableEnumModel to be compared
Instance of NullableEnumModel to be compared