By reading the string-formatted variables of the underlying JSON file, this inversion control method handles the request to initialize a JsonPersistence strategy.

Namespace: Keystone.Quantum.Json
Assembly: Keystone.Quantum.Json (in Keystone.Quantum.Json.dll)

protected override void OnInitialize( 
IEnumerable<string> configurationDomainsInspectionSequence
bool monitorConfigurationChanges 
)
This language is not supported or no code example is available.

Parameters

configurationDomainsInspectionSequence

Type: IEnumerable<string>

Defines a comma separated list of configuration domains. The JSON configuration file will be <param name="monitorConfigurationChanges">Defines if Quantum should monitor configuration changes at runtime if possible.</param> searched in the executing base folder of the invoking assembly. The file name will be the same of that assembly with an additional postfix of the form "-{configuration domain}".

The configuration domain of the prefix is selected through the configuration domains inspection sequence. Each item of that comma separated list is used as prefix in the file name and tested to form an existing file in the invoking assembly base executing folder. If two or more names are provided, the first available file with that name in the executing base the first available file with that name is used.

monitorConfigurationChanges

Type: bool

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono