TestimoX

API Reference

Class

PowerShellRuntimeConfigFactory

Namespace TestimoX.Configuration.Engine
Assembly TestimoX
Modifiers static

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: Boolean

Attempts to create a PowerShell runtime configuration from user-provided inputs.

Parameters

catalogMode System.String requiredposition: 0
Catalog mode string (legacy, auto, compiled-only).
cacheMode System.String requiredposition: 1
Cache mode string (persistent, temporary, disabled).
cacheDirectory System.String requiredposition: 2
Optional root directory for cache extraction.
config TestimoX.Configuration.Engine.PowerShellRuntimeConfig@ requiredposition: 3
Resulting runtime config when successful or when no inputs are provided.
error System.String@ requiredposition: 4
Error message describing invalid input; null on success.

Returns

True when inputs are valid; false when parsing fails.