Skip to content

Commit abfdefe

Browse files
authored
RichTextBoxRowColoringRule - Fixed XML comment for CheckCondition (#197)
1 parent db516ae commit abfdefe

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

NLog.Windows.Forms/FormHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace NLog.Windows.Forms
88
/// <summary>
99
/// Form helper methods.
1010
/// </summary>
11-
internal class FormHelper
11+
internal static class FormHelper
1212
{
1313
/// <summary>
1414
/// Creates RichTextBox and docks in parentForm.

NLog.Windows.Forms/RichTextBoxRowColoringRule.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,11 @@ public RichTextBoxRowColoringRule(string condition, string fontColor, string bac
9292
}
9393

9494
/// <summary>
95-
/// Checks whether the specified log event matches the condition (if any).
95+
/// Checks whether the specified log event matches the condition.
9696
/// </summary>
9797
/// <param name="logEvent">Log event.</param>
9898
/// <returns>
99-
/// A value of <see langword="true"/> if the condition is not defined or
100-
/// if it matches, <see langword="false"/> otherwise.
99+
/// A value of <see langword="true"/> if the condition matches, <see langword="false"/> otherwise.
101100
/// </returns>
102101
public bool CheckCondition(LogEventInfo logEvent)
103102
{

NLog.Windows.Forms/RichTextBoxTarget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,4 +1037,4 @@ internal MessageInfo(string message, RichTextBoxRowColoringRule rule, LogEventIn
10371037
}
10381038
}
10391039
}
1040-
}
1040+
}

0 commit comments

Comments
 (0)