RedisCache Classe

Definizione

public ref class RedisCache : IDisposable, Microsoft::Extensions::Caching::Distributed::IDistributedCache
public class RedisCache : IDisposable, Microsoft.Extensions.Caching.Distributed.IDistributedCache
type RedisCache = class
    interface IDistributedCache
    interface IDisposable
Public Class RedisCache
Implements IDisposable, IDistributedCache
Ereditarietà
RedisCache
Implementazioni

Costruttori

Nome Descrizione
RedisCache(IOptions<RedisCacheOptions>)

Metodi

Nome Descrizione
Dispose()
Get(String)
GetAsync(String, CancellationToken)
Refresh(String)
RefreshAsync(String, CancellationToken)
Remove(String)
RemoveAsync(String, CancellationToken)
Set(String, Byte[], DistributedCacheEntryOptions)
SetAsync(String, Byte[], DistributedCacheEntryOptions, CancellationToken)

Metodi di estensione

Nome Descrizione
GetString(IDistributedCache, String)

Ottiene una stringa dalla cache specificata con la chiave specificata.

GetStringAsync(IDistributedCache, String, CancellationToken)

Ottiene in modo asincrono una stringa dalla cache specificata con la chiave specificata.

Set(IDistributedCache, String, Byte[])

Imposta una sequenza di byte nella cache specificata con la chiave specificata.

SetAsync(IDistributedCache, String, Byte[], CancellationToken)

Imposta in modo asincrono una sequenza di byte nella cache specificata con la chiave specificata.

SetString(IDistributedCache, String, String, DistributedCacheEntryOptions)

Imposta una stringa nella cache specificata con la chiave specificata.

SetString(IDistributedCache, String, String)

Imposta una stringa nella cache specificata con la chiave specificata.

SetStringAsync(IDistributedCache, String, String, CancellationToken)

Imposta in modo asincrono una stringa nella cache specificata con la chiave specificata.

SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken)

Imposta in modo asincrono una stringa nella cache specificata con la chiave specificata.

Si applica a