Added argument "operation" in constructor

This commit is contained in:
zsender 2018-07-06 08:51:03 +03:00
parent d5e78e5284
commit 84fe677d7a

View file

@ -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