Public Member Functions | |
NameFilter (string filter) | |
Construct an instance based on the filter expression passed. | |
override string | ToString () |
Convert this filter to its string equivalent. | |
bool | IsIncluded (string testValue) |
Test a value to see if it is included by the filter. | |
bool | IsExcluded (string testValue) |
Test a value to see if it is excluded by the filter. | |
bool | IsMatch (string testValue) |
Test a value to see if it matches the filter. | |
Static Public Member Functions | |
static bool | IsValidExpression (string e) |
Test a string to see if it is a valid regular expression. | |
static bool | IsValidFilterExpression (string toTest) |
Test an expression to see if it is valid as a filter. | |
Private Member Functions | |
void | Compile () |
Compile this filter. | |
Private Attributes | |
string | filter |
ArrayList | inclusions |
ArrayList | exclusions |
Definition at line 53 of file NameFilter.cs.
|
Construct an instance based on the filter expression passed.
Definition at line 59 of file NameFilter.cs. |
|
Compile this filter.
Definition at line 178 of file NameFilter.cs. |
|
Test a value to see if it is excluded by the filter.
Definition at line 153 of file NameFilter.cs. |
|
Test a value to see if it is included by the filter.
Definition at line 132 of file NameFilter.cs. |
|
Test a value to see if it matches the filter.
Definition at line 170 of file NameFilter.cs. |
|
Test a string to see if it is a valid regular expression.
Definition at line 72 of file NameFilter.cs. |
|
Test an expression to see if it is valid as a filter.
Definition at line 89 of file NameFilter.cs. |
|
Convert this filter to its string equivalent.
Definition at line 122 of file NameFilter.cs. |
|
Definition at line 210 of file NameFilter.cs. |
|
Definition at line 208 of file NameFilter.cs. |
|
Definition at line 209 of file NameFilter.cs. |