TestimoX

API Reference

Class

CSharpRuleProvider

Namespace TestimoX.Providers
Assembly TestimoX
Implements

Discovers C# rules from the TestimoX assembly and any loaded external assemblies.

Inheritance

  • Object
  • CSharpRuleProvider

Constructors

public CSharpRuleProvider() #

Methods

public virtual Boolean CanHandle(RuleSourceType sourceType) #
Returns: Boolean

Parameters

sourceType TestimoX.Definitions.RuleSourceType requiredposition: 0
public virtual RuleProviderInfo GetProviderInfo() #
Returns: RuleProviderInfo
public virtual Task<IEnumerable<Rule>> GetRulesAsync(RuleDiscoveryOptions options) #
Returns: Task<IEnumerable<Rule>>

Parameters

options TestimoX.Discovery.RuleDiscoveryOptions requiredposition: 0