Class GroupFilterEvaluator
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Group filter evaluator, for evaluating GroupFilterCondition's.
public class GroupFilterEvaluator : IGroupFilterEvaluator
- Inheritance
-
GroupFilterEvaluator
- Implements
- Inherited Members
Properties
Instance
Gets a shared instance of GroupFilterEvaluator.
public static GroupFilterEvaluator Instance { get; }
Property Value
- GroupFilterEvaluator
The instance.
MaxDepth
Gets or sets the MaxDepth or GroupFilterCondition's a GroupFilter can have.
public int MaxDepth { get; set; }
Property Value
Methods
EvaluateGroupFilter(GroupFilter)
Evaluates the group filter maximum conditions that are allowed and will throw InvalidGroupFilterException if above the maximum.
public int EvaluateGroupFilter(GroupFilter groupFilter)
Parameters
groupFilter
GroupFilterThe groupFilter.
Returns
- int
Depth of the groupFilter