Hide

YetaWF.Caching Package Documentation

Display
Print

YetaWF.Modules.Caching.DataProvider.StaticSmallObjectLocalDataProvider.AddAsync Method

Adds an object to the cache.

Class: YetaWF.Modules.Caching.DataProvider.StaticSmallObjectLocalDataProvider
Namespace: YetaWF.Modules.Caching.DataProvider
Assembly: YetaWF.Caching

Syntax

public Task AddAsync<TYPE>(
    string key,
    TYPE? data );

Parameters

key

The resource name.

data

The data to cache.

See Also YetaWF.Modules.Caching.DataProvider.StaticSmallObjectLocalDataProvider ClassYetaWF.Caching PackageYetaWF.Core