Added argument "operation" in constructor
This commit is contained in:
parent
d5e78e5284
commit
84fe677d7a
|
@ -44,10 +44,12 @@
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Add - Add a filter
|
/// Add - Add a filter
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="filter"></param>
|
/// <param name="filter">Add a filter</param>
|
||||||
public FilterAction(string filter)
|
/// <param name="operation">Filters can be whitelist or blacklist</param>
|
||||||
|
public FilterAction(string filter, string operation = "Add")
|
||||||
{
|
{
|
||||||
Filter = filter;
|
Filter = filter;
|
||||||
|
Operation = operation;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue