You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ReportGenerator.Core/Parser/Filtering/DefaultFilter.cs
+23-4
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,16 @@ public class DefaultFilter : IFilter
28
28
/// </summary>
29
29
/// <param name="filters">The filters.</param>
30
30
publicDefaultFilter(IEnumerable<string>filters)
31
+
:this(filters,false)
32
+
{
33
+
}
34
+
35
+
/// <summary>
36
+
/// Initializes a new instance of the <see cref="DefaultFilter"/> class.
37
+
/// </summary>
38
+
/// <param name="filters">The filters.</param>
39
+
/// <param name="osIndependantPathSeparator">Indicates whether filter thould be treated as paths and the operating system format should be ignored.</param>
@@ -50,7 +60,7 @@ public DefaultFilter(IEnumerable<string> filters)
50
60
{
51
61
this.includeFilters=new[]
52
62
{
53
-
CreateFilterRegex("+*")
63
+
CreateFilterRegex("+*",false)
54
64
};
55
65
}
56
66
}
@@ -87,14 +97,23 @@ public bool IsElementIncludedInReport(string name)
87
97
/// Special characters are escaped. Wildcards '*' are converted to '.*'.
88
98
/// </summary>
89
99
/// <param name="filter">The filter.</param>
100
+
/// <param name="osIndependantPathSeparator">Indicates whether filter thould be treated as paths and the operating system format should be ignored.</param>
0 commit comments