ContainsItem(string)
Determines whether the cache contains an item of a given key.
Declaration
public bool ContainsItem(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key | The key of the cache item. |
Returns
Type | Description |
---|---|
bool |
|
Metalama.Patterns.Caching.Aspects
Metalama.Patterns.Caching.Aspects.Configuration
Metalama.Patterns.Caching.Aspects.Helpers
Metalama.Patterns.Caching.Backends
Metalama.Patterns.Caching.Backends.Azure
Metalama.Patterns.Caching.Backends.Redis
Metalama.Patterns.Caching.Building
Metalama.Patterns.Caching.Dependencies
Metalama.Patterns.Caching.Formatters
Metalama.Patterns.Caching.Implementation
Metalama.Patterns.Caching.Locking
Metalama.Patterns.Caching.Serializers
Metalama.Patterns.Caching.ValueAdapters
Metalama.Patterns.Contracts.Numeric
Metalama.Patterns.Immutability
Metalama.Patterns.Immutability.Configuration
Metalama.Patterns.Memoization
Metalama.Patterns.Observability
Metalama.Patterns.Observability.Configuration
Determines whether the cache contains an item of a given key.
public bool ContainsItem(string key)
Type | Name | Description |
---|---|---|
string | key | The key of the cache item. |
Type | Description |
---|---|
bool |
|