예제 #1
0
 /// <summary>
 /// Checks whether the specified object equals the current one
 /// (does not take the <see cref="IsDefault"/> property into account).
 /// </summary>
 /// <param name="other">Object to compare with.</param>
 /// <returns>true, if the specified object equals the current one; otherwise false.</returns>
 public bool Equals(LogWriterConfiguration other)
 {
     return(mBaseLevel == other.mBaseLevel &&
            NamePatterns.SequenceEqual(other.NamePatterns) &&
            TagPatterns.SequenceEqual(other.TagPatterns) &&
            Includes.SequenceEqual(other.Includes) &&
            Excludes.SequenceEqual(other.Excludes));
 }