Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

Class MemoryCachingBackendBuilder

A CachingBackendBuilder that returns an in-memory, in-process caching back-end, backed by an IMemoryCache.

Inheritance
MemoryCachingBackendBuilder
Namespace: Metalama.Patterns.Caching.Building
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public sealed class MemoryCachingBackendBuilder : ConcreteCachingBackendBuilder

Methods

Name Description
CreateBackend(CreateBackendArgs)

Creates the CachingBackend.

WithMemoryCache(IMemoryCache)

Specifies the IMemoryCache to use.

WithMemoryCacheOptions(MemoryCacheOptions)

Specifies the options of the MemoryCache. This method is ignored if the WithMemoryCache(IMemoryCache) method is called.

Extension Methods

  • Navigation