// strings public Criteria(DataItems.CompareStrSortable filterEnum, ICompStringUnary compareOpr) { FilterEnum = filterEnum; CompareOpr = (CompareOpRoot)compareOpr; // TestValue = null; // IgnoreCase = true; }
public Criteria(DataItems.CompareStrSortable filterEnum, ICompStringBinary compareOpr, string testValue, bool ignoreCase = true) { FilterEnum = filterEnum; CompareOpr = (CompareOpRoot)compareOpr; TestValue = new ItemValue(testValue); IgnoreCase = ignoreCase; }