Пример #1
0
 /// <summary>
 /// Determines whether the specified <see cref="Fenced" />, is equal to this instance.
 /// </summary>
 /// <param name="other">The other.</param>
 /// <returns>true if equal; otherwise, false</returns>
 protected bool Equals(Fenced other) =>
 Equals(Attributes, other.Attributes) &&
 string.Equals(Text, other.Text);
Пример #2
0
 protected bool Equals(Fenced other)
 {
     return(Equals(Attributes, other.Attributes) && string.Equals(Text, other.Text));
 }