Skip to content

JsonFileStore() constructor

Defined in

Type: JsonFileStore Namespace: CrissCross.Avalonia.UI.Storage Assembly: CrissCross.Avalonia.UI.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Overloads

  • 1. public JsonFileStore()
  • 2. public JsonFileStore(bool perUser)
  • 3. public JsonFileStore(string storeFolderPath)

1. Overload

public JsonFileStore()

Summary: Initializes a new instance of the JsonFileStore class. Creates a JsonFileStore that will store files in a per-user folder.

2. Overload

public JsonFileStore(bool perUser)

Summary: Initializes a new instance of the JsonFileStore class. Creates a JsonFileStore that will store files in a per-user or per-machine folder.

Parameters

NameTypeDescription
perUserboolSpecified if a per-user or per-machine folder will be used for storing the data.

3. Overload

public JsonFileStore(string storeFolderPath)

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

Parameters

NameTypeDescription
storeFolderPathstringThe folder inside which the json files for tracked objects will be stored.