UninitializedCachingBackend Class |
PostSharp.Patterns.Caching.Implementation.CachingBackend
PostSharp.Patterns.Caching.Backends.UninitializedCachingBackend
Namespace: PostSharp.Patterns.Caching.Backends
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class UninitializedCachingBackend : CachingBackend
The UninitializedCachingBackend type exposes the following members.
Name | Description | |
---|---|---|
UninitializedCachingBackend | Initializes a new instance of the UninitializedCachingBackend class |
Name | Description | |
---|---|---|
Id |
Gets the Guid of the current CachingBackend.
(Inherited from CachingBackend.) | |
Status | (Inherited from CachingBackend.) | |
SupportedFeatures |
Gets the set of features supported by the current CachingBackend.
(Inherited from CachingBackend.) | |
ValueAdapters |
Gets the factory of value adapters (IValueAdapter), which allow for instance to cache things like Stream or IEnumerable,
which could not be otherwise cached.
(Inherited from CachingBackend.) |
Name | Description | |
---|---|---|
Clear |
Clears the cache.
(Inherited from CachingBackend.) | |
ClearAsync |
Asynchronously clears the cache.
(Inherited from CachingBackend.) | |
ContainsDependency |
Determines whether the cache contains a given dependency.
(Inherited from CachingBackend.) | |
ContainsDependencyAsync |
Asynchronously determines whether the cache contains a given dependency.
(Inherited from CachingBackend.) | |
ContainsItem |
Determines whether the cache contains an item of a given key.
(Inherited from CachingBackend.) | |
ContainsItemAsync |
Asynchronously determines whether the cache contains an item of a given key.
(Inherited from CachingBackend.) | |
Dispose() |
Synchronously disposes the current CachingBackend.
(Inherited from CachingBackend.) | |
DisposeAsync |
Asynchronously dispose the current CachingBackend.
(Inherited from CachingBackend.) | |
GetItem |
Gets a cache item given its key.
(Inherited from CachingBackend.) | |
GetItemAsync |
Asynchronously gets a cache item given its key.
(Inherited from CachingBackend.) | |
InvalidateDependency |
Removes from the cache all items that have a specific dependency.
(Inherited from CachingBackend.) | |
InvalidateDependencyAsync |
Asynchronously removes from the cache all items that have a specific dependency. 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.
(Inherited from CachingBackend.) | |
RemoveItem |
Removes a cache item from the cache given its key.
(Inherited from CachingBackend.) | |
RemoveItemAsync |
Asynchronously removes a cache item from the cache given its key.
(Inherited from CachingBackend.) | |
SetItem |
Sets a cache item.
(Inherited from CachingBackend.) | |
SetItemAsync |
Asynchronously sets a cache item.
(Inherited from CachingBackend.) | |
ToString | Returns a string that represents the current object. (Inherited from CachingBackend.) | |
WhenBackgroundTasksCompleted |
Returns a Task that is signaled to the complete state when all background tasks
have completed.
(Inherited from CachingBackend.) |
Name | Description | |
---|---|---|
DependencyInvalidated |
Events raised when a dependency is invalidated. Check the Events
property to see if the current CachingBackend supports events.
(Inherited from CachingBackend.) | |
ItemRemoved |
Event raised when a cache item is removed from the cache. Check the Events
property to see if the current CachingBackend supports events.
(Inherited from CachingBackend.) |