コード例 #1
0
 protected override bool EqualValues(IpV4OptionTimestamp other)
 {
     return(Enumerable.SequenceEqual <IpV4TimeOfDay>((IEnumerable <IpV4TimeOfDay>) this.Timestamps, (IEnumerable <IpV4TimeOfDay>)((IpV4OptionTimestampOnly)other).Timestamps));
 }
コード例 #2
0
 protected override bool EqualValues(IpV4OptionTimestamp other)
 {
     return(Enumerable.SequenceEqual <IpV4OptionTimedAddress>((IEnumerable <IpV4OptionTimedAddress>) this.TimedRoute, (IEnumerable <IpV4OptionTimedAddress>)((IpV4OptionTimestampAndAddress)other).TimedRoute));
 }
コード例 #3
0
 /// <summary>
 /// Compares the values of the options.
 /// </summary>
 protected override bool EqualValues(IpV4OptionTimestamp other)
 {
     return(Timestamps.SequenceEqual(((IpV4OptionTimestampOnly)other).Timestamps));
 }
コード例 #4
0
 /// <summary>
 /// True iff the options values is equal.
 /// </summary>
 protected override bool EqualValues(IpV4OptionTimestamp other)
 {
     return(TimedRoute.SequenceEqual(((IpV4OptionTimestampAndAddress)other).TimedRoute));
 }