Table of Contents

Interface IRegistryStorage

Namespace
SharpConsoleUI.Registry
Assembly
SharpConsoleUI.dll

Abstraction for registry persistence. The contract uses JsonNode because the registry's in-memory model IS a JsonNode tree. Custom backends may serialize it to any wire format internally.

public interface IRegistryStorage
Extension Methods

Methods

Load()

Loads the registry tree. Returns null if no data exists yet.

JsonNode? Load()

Returns

JsonNode

Save(JsonNode)

Persists the registry tree.

void Save(JsonNode root)

Parameters

root JsonNode