Ejemplo n.º 1
0
 private bool EqualsData(IpV6OptionCalipso other)
 {
     return other != null &&
            DomainOfInterpretation == other.DomainOfInterpretation && CompartmentLength == other.CompartmentLength &&
            SensitivityLevel == other.SensitivityLevel && Checksum == other.Checksum && CompartmentBitmap.Equals(CompartmentBitmap);
 }
Ejemplo n.º 2
0
 public void IpV6OptionCalipsoCreateInstanceNullData()
 {
     IpV6OptionCalipso option = new IpV6OptionCalipso(IpV6CalipsoDomainOfInterpretation.Null, 0, null, DataSegment.Empty);
     Assert.IsNull(option.CreateInstance(null));
     Assert.Fail();
 }
 private bool EqualsData(IpV6OptionCalipso other)
 {
     return(other != null &&
            DomainOfInterpretation == other.DomainOfInterpretation && CompartmentLength == other.CompartmentLength &&
            SensitivityLevel == other.SensitivityLevel && Checksum == other.Checksum && CompartmentBitmap.Equals(CompartmentBitmap));
 }