API Reference
Class
ExternalRuleImporter
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:
Int32Convenience method to discover rules from ADPlayground if available.
Returns
Number of rules discovered
DiscoverRulesFromAssembly 2 overloads
public static Int32 DiscoverRulesFromAssembly(Assembly assembly) #Returns:
Int32Discovers rules from any external assembly using automatic discovery. Works with ADPlayground, CertNoob, or any assembly with GetRule() pattern.
Parameters
- assemblyPath System.String
- 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
- The external assembly
Returns
Number of rules discovered
public static String GetExternalRulesDebugInfo() #Returns:
StringGets debug information about discovered external rules.
Returns
Debug information string