Edit

Share via


IObjectStorageHelper Interface

Definition

Caution

IObjectStorageHelper is deprecated. Please use ISettingsStorageHelper and IFileStorageHelper interfaces instead.

Service used to store data.

public interface IObjectStorageHelper
[System.Obsolete("IObjectStorageHelper is deprecated. Please use ISettingsStorageHelper and IFileStorageHelper interfaces instead.")]
public interface IObjectStorageHelper
type IObjectStorageHelper = interface
[<System.Obsolete("IObjectStorageHelper is deprecated. Please use ISettingsStorageHelper and IFileStorageHelper interfaces instead.")>]
type IObjectStorageHelper = interface
Public Interface IObjectStorageHelper
Derived
Attributes

Methods

FileExistsAsync(String)

Determines whether a file already exists.

KeyExists(String, String)

Determines whether a setting already exists in composite.

KeyExists(String)

Determines whether a setting already exists.

Read<T>(String, String, T)

Retrieves a single item by its key in composite.

Read<T>(String, T)

Retrieves a single item by its key.

ReadFileAsync<T>(String, T)

Retrieves an object from a file.

Save<T>(String, IDictionary<String,T>)

Saves a group of items by its key in a composite. This method should be considered for objects that do not exceed 8k bytes during the lifetime of the application (refers to SaveFileAsync<T>(String, T) for complex/large objects) and for groups of settings which need to be treated in an atomic way.

Save<T>(String, T)

Saves a single item by its key.

SaveFileAsync<T>(String, T)

Saves an object inside a file.

Applies to