public bool Equals(CurrencyCode code) { if (code == null || code.InternalObject == null || this.InternalObject == null) { return(false); } return(this.InternalObject.Equals(code.InternalObject)); }
public CurrencyAndAmount(double?value = null, CurrencyCode currency = null) { this.Value = value; if (currency != null) { this.Currency = currency; } else { this.Currency = new CurrencyCode(); } }
public override bool Equals(object obj) { CurrencyCode code = obj as CurrencyCode; return(this.Equals(code)); }