public bool Equals(TypeOfPriceCode code) { if (code == null || code.InternalObject == null || this.InternalObject == null) { return(false); } return(this.InternalObject.Equals(code.InternalObject)); }
public override bool Equals(object obj) { TypeOfPriceCode code = obj as TypeOfPriceCode; return(this.Equals(code)); }