/// <inheritdoc /> public bool Equals(BinaryAttachment other) { return(other != null && Name == other.Name && ContentType == other.ContentType && GenericCollectionUtils.ElementsEqual(bytes, other.bytes)); }
public override bool Equals(object obj) { // Note: We must also compare generic arguments to determine exact method equality. return(base.Equals(obj) && GenericCollectionUtils.ElementsEqual(GenericArguments, ((NativeMethodWrapper)obj).GenericArguments)); }
/// <inheritdoc /> public bool Equals(SectionTag other) { return(other != null && name == other.name && GenericCollectionUtils.ElementsEqual(Contents, other.Contents)); }
/// <inheritdoc /> public bool Equals(StructuredText other) { return(other != null && GenericCollectionUtils.ElementsEqual(attachments, other.attachments) && bodyTag.Equals(other.bodyTag)); }
/// <inheritdoc /> public bool Equals(MarkerTag other) { return(other != null && Marker == other.Marker && GenericCollectionUtils.ElementsEqual(Contents, other.Contents)); }
/// <inheritdoc /> public bool Equals(BodyTag other) { return(other != null && GenericCollectionUtils.ElementsEqual(Contents, other.Contents)); }