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