Skip to main content

IRemoveByPattern

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRemoveByPattern

Methods

RemoveByPattern(String)

Removes items from cache that have keys matching the specified wildcard pattern

View Source
Declaration
void RemoveByPattern(string pattern)
Parameters
TypeNameDescription
System.StringpatternThe wildcard, where "*" means any sequence of characters and "?" means any single character.

|

RemoveByRegex(String)

Removes items from the cache based on the specified regular expression pattern

View Source
Declaration
void RemoveByRegex(string regex)
Parameters
TypeNameDescription
System.StringregexRegular expression pattern to search cache keys

|