protected override bool EqualValues(IpV4OptionTimestamp other) { return(Enumerable.SequenceEqual <IpV4TimeOfDay>((IEnumerable <IpV4TimeOfDay>) this.Timestamps, (IEnumerable <IpV4TimeOfDay>)((IpV4OptionTimestampOnly)other).Timestamps)); }
protected override bool EqualValues(IpV4OptionTimestamp other) { return(Enumerable.SequenceEqual <IpV4OptionTimedAddress>((IEnumerable <IpV4OptionTimedAddress>) this.TimedRoute, (IEnumerable <IpV4OptionTimedAddress>)((IpV4OptionTimestampAndAddress)other).TimedRoute)); }
/// <summary> /// Compares the values of the options. /// </summary> protected override bool EqualValues(IpV4OptionTimestamp other) { return(Timestamps.SequenceEqual(((IpV4OptionTimestampOnly)other).Timestamps)); }
/// <summary> /// True iff the options values is equal. /// </summary> protected override bool EqualValues(IpV4OptionTimestamp other) { return(TimedRoute.SequenceEqual(((IpV4OptionTimestampAndAddress)other).TimedRoute)); }