Class BowireNetworkSettingsStore

Namespace
Kuestenlogik.Bowire.Net
Assembly
Kuestenlogik.Bowire.dll

The network settings on disk: network-config.json for everyone and network-config.<workspaceId>.json for a workspace's override, both under the user's Bowire directory. Same layout as the AI config.

public static class BowireNetworkSettingsStore
Inheritance
BowireNetworkSettingsStore
Inherited Members

Methods

Load(string?)

The layer, or null when there is none (or it cannot be read).

public static BowireNetworkSettings? Load(string? workspaceId)

Parameters

workspaceId string

Returns

BowireNetworkSettings

PathFor(string?)

The path of the layer for workspaceId, or the global one.

public static string PathFor(string? workspaceId)

Parameters

workspaceId string

Returns

string

Save(BowireNetworkSettings, string?)

Write a layer; an empty one removes the file.

public static void Save(BowireNetworkSettings settings, string? workspaceId)

Parameters

settings BowireNetworkSettings
workspaceId string