TestimoX

API Reference

Class

JsonConfigurationProvider

Namespace TestimoX.Configuration.Providers
Assembly TestimoX

Loads configuration values from a JSON file.

Inheritance

  • Object
  • JsonConfigurationProvider

Constructors

public JsonConfigurationProvider(String filePath) #

Creates a provider bound to the specified JSON file.

Parameters

filePath System.String requiredposition: 0
Path to a JSON config file.

Methods

public virtual Void Load(String[] args = null) #
Returns: Void

Loads configuration from the bound JSON file and applies recognized fields. Recognized fields: Verbosity, ForceAscii, DefaultConsoleWidth, and optional ComplianceDisplay object with Msb/Stig/Cis/PingCastle/PurpleKnight keys (values Off|Brief|Full; some coerced to Off).

Parameters

args System.String[] = null optionalposition: 0
Unused by this provider.