Table of Contents

Method Update

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

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 Stream

Json document to update the settings with.

source string

The source (filename/resource name) the Json document was read from.

location ConfigLocations

Location

Returns

SettingsScope

Update(string, ConfigLocations)

Updates the SettingsScope with the settings in a JSON file.

public SettingsScope? Update(string filePath, ConfigLocations location)

Parameters

filePath string

Path to the file.

location ConfigLocations

The location

Returns

SettingsScope

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 string

Json document to update the settings with.

source string

The source (filename/resource name) the Json document was read from.

location ConfigLocations

The location.

Returns

SettingsScope