2021 Class
Changes 3
C

FilterNumericRuleEvaluator

Description:
Base for all classes that compare numeric values from Revit to a user-supplied filter value.
Remarks:
A class derived from FilterNumericRuleEvaluator must handle both integer and double-precision types. For double-precision comparisons, an epsilon value is given. The evaluator class should use this value in a manner appropriate to the comparison being implemented.
public class FilterNumericRuleEvaluator : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M Evaluate(Double, Double, Double) bool Derived classes override this method to implement the test that determines whether the two given double-precision values satisfy the desired condition or not.
M Evaluate(Int32, Int32) bool Derived classes should override this method to implement the desired test.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.