API Reference
Class
PowerShellRuntimeConfigFactory
Builds PowerShellRuntimeConfig instances from string inputs provided by hosts.
Inheritance
- Object
- PowerShellRuntimeConfigFactory
Methods
public static Boolean TryCreate(String catalogMode, String cacheMode, String cacheDirectory, out PowerShellRuntimeConfig config, out String error) #Returns:
BooleanAttempts to create a PowerShell runtime configuration from user-provided inputs.
Parameters
- catalogMode System.String
- Catalog mode string (legacy, auto, compiled-only).
- cacheMode System.String
- Cache mode string (persistent, temporary, disabled).
- cacheDirectory System.String
- Optional root directory for cache extraction.
- config TestimoX.Configuration.Engine.PowerShellRuntimeConfig@
- Resulting runtime config when successful or when no inputs are provided.
- error System.String@
- Error message describing invalid input; null on success.
Returns
True when inputs are valid; false when parsing fails.