Creates a new JsonPersistence strategy.
Name | Description |
---|---|
JsonPersistence() | Creates a new JsonPersistence strategy. The JSON configuration file will be 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. |
JsonPersistence(string) | Creates a new JsonPersistence strategy. |