TestimoX

API Reference

Class

GeneratedPowerShellProvider

Namespace TestimoX.Providers
Assembly TestimoX
Implements

Discovers PowerShell rules from the generated bundle emitted at build time. This avoids single-file resource quirks and speeds up discovery.

Inheritance

  • Object
  • GeneratedPowerShellProvider

Constructors

public GeneratedPowerShellProvider() #

Methods

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

Parameters

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

Returns the generated PowerShell rules produced at build time.

Parameters

options TestimoX.Discovery.RuleDiscoveryOptions requiredposition: 0
Discovery options (include/exclude, diagnostics, etc.).

Returns

Rules derived from bundled PowerShell scripts.