API Reference
Interface
IRuleProvider
Abstraction for discovering TestimoX rules from various sources.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Constructor RuleDiscoveryEngine.RuleDiscoveryEngine
- Constructor TestimoRunner.TestimoRunner
Methods
public abstract Boolean CanHandle(RuleSourceType sourceType) #Returns:
BooleanReturns true when this provider supports the specified sourceType.
Parameters
- sourceType TestimoX.Definitions.RuleSourceType
public abstract RuleProviderInfo GetProviderInfo() #Returns:
RuleProviderInfoReturns human‑readable provider metadata.
public abstract Task<IEnumerable<Rule>> GetRulesAsync(RuleDiscoveryOptions options) #Returns:
Task<IEnumerable<Rule>>Discovers rules asynchronously according to options.
Parameters
- options TestimoX.Discovery.RuleDiscoveryOptions