Skip to content

JsonFileStore class

Defined in

Namespace: CrissCross.WPF.UI.Storage Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.Storage.JsonFileStore Modifiers: public

Summary

        An implementation of IStore that saves data to a json file.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class JsonFileStore
class IStore {
    <>
}
IStore <|.. JsonFileStore

Implements: IStore

Remarks

Initializes a new instance of the JsonFileStore class. Creates a JsonFileStore that will store files in the specified folder.

Constructors

NameSummary
.ctorAn implementation of IStore that saves data to a json file.

Properties

NameSummary
FolderPathGets or sets the folder in which the store files will be located.

Methods

NameSummary
GetDataLoads values from the json file into a dictionary.
SetDataStores the values as a json file.
ListIdsLists the ids.
ClearDataClears the data.
ClearAllClears all.
Inherited members