public override bool Equals(object obj) { SoftDollarTier b = obj as SoftDollarTier; if (Equals(b, null)) { return(false); } return(string.Compare(Name, b.Name, true) == 0 && string.Compare(Value, b.Value, true) == 0); }
/// <summary> /// Initializes a new instance of the <see cref="SoftDollarTiersEventArgs"/> class /// </summary> public SoftDollarTiersEventArgs(int reqId, SoftDollarTier[] tiers) { RequestId = reqId; Tiers = tiers; }
protected bool Equals(SoftDollarTier other) { return(Name == other.Name && Value == other.Value); }
/// <summary> /// /// </summary> /// <param name="reqId">The id of the request.</param> /// <param name="tiers"></param> public void softDollarTiers(int reqId, SoftDollarTier[] tiers) { OnSoftDollarTiers(new SoftDollarTiersEventArgs(reqId, tiers)); }