API Reference
Class
JsonConfigurationProvider
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
- Path to a JSON config file.
Methods
public virtual Void Load(String[] args = null) #Returns:
VoidLoads 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
- Unused by this provider.