Method Update
Update(Stream, string, ConfigLocations)
Updates the SettingsScope with the settings in a JSON string.
public SettingsScope? Update(Stream stream, string source, ConfigLocations location)
Parameters
stream
StreamJson document to update the settings with.
source
stringThe source (filename/resource name) the Json document was read from.
location
ConfigLocationsLocation
Returns
Update(string, ConfigLocations)
Updates the SettingsScope with the settings in a JSON file.
public SettingsScope? Update(string filePath, ConfigLocations location)
Parameters
filePath
stringPath to the file.
location
ConfigLocationsThe location
Returns
Update(string?, string, ConfigLocations)
Updates the SettingsScope with the settings in a JSON string.
public SettingsScope? Update(string? json, string source, ConfigLocations location)
Parameters
json
stringJson document to update the settings with.
source
stringThe source (filename/resource name) the Json document was read from.
location
ConfigLocationsThe location.