CacheClientWithPrefixAsyncExtensions
Assembly: ServiceStack.dll
View Source
Declaration
public static class CacheClientWithPrefixAsyncExtensions
Methods
WithPrefix(ICacheClientAsync, String)
Decorates the ICacheClient (and its siblings) prefixing every key with the given prefix
Useful for multi-tenant environments
View Source
Declaration
public static ICacheClientAsync WithPrefix(this ICacheClientAsync cache, string prefix)
Returns
ServiceStack.Caching.ICacheClientAsync
Parameters
| Type | Name |
|---|---|
| ServiceStack.Caching.ICacheClientAsync | cache |
System.String | prefix |