2021 Constructor
Changes 7
C

FilterStringRule

Description:
Constructs an instance of FilterStringRule.
public FilterStringRule(
	FilterableValueProvider valueProvider,
	FilterStringRuleEvaluator evaluator,
	string ruleString,
	bool caseSensitive
)
  • valueProvider
    A pointer to a "value provider" object that will extract values from a Revit document.
  • evaluator
    A pointer to the filter rule evaluator object that implements the desired test. The built-in evaluators implement commonly used tests for strings such as begins-with, ends-with, contains, equal, etc.
  • String
    ruleString
    The user-supplied string against which strings from a Revit document will be tested.
  • Boolean
    caseSensitive
    If true, string comparisons will be done case-sensitively.