PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Caching­Backend Class / Redis­Caching­Backend Methods / Redis­Caching­Backend.​Set­Item­Core Method

RedisCachingBackend.SetItemCore Method

Sets a cache item. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
protected override void SetItemCore(
	string key,
	CacheItem item
)

Parameters

key
Type: System.String
The key of the cache item.
item
Type: PostSharp.Patterns.Caching.Implementation.CacheItem
The cache item.
See Also