TestimoX

API Reference

Class

ExternalRuleImporter

Namespace TestimoX.Rules
Assembly TestimoX
Modifiers static

Simple utility for discovering rules from external assemblies. 🔥 MUCH SIMPLER NOW: Just uses the automatic discovery we already have! No more complex reflection or assembly-specific import logic.

Inheritance

  • Object
  • ExternalRuleImporter

Methods

public static Int32 DiscoverADPlaygroundRules() #
Returns: Int32

Convenience method to discover rules from ADPlayground if available.

Returns

Number of rules discovered

DiscoverRulesFromAssembly 2 overloads
public static Int32 DiscoverRulesFromAssembly(Assembly assembly) #
Returns: Int32

Discovers rules from any external assembly using automatic discovery. Works with ADPlayground, CertNoob, or any assembly with GetRule() pattern.

Parameters

assemblyPath System.String requiredposition: 0
Path to the external assembly

Returns

Number of rules discovered

DiscoverRulesFromAssembly(System.Reflection.Assembly assembly) #

Discovers rules from any external assembly using automatic discovery.

Parameters

assembly System.Reflection.Assembly required
The external assembly

Returns

Number of rules discovered

public static String GetExternalRulesDebugInfo() #
Returns: String

Gets debug information about discovered external rules.

Returns

Debug information string