Skip to content

IAkavacheBuilder interface

Defined in

Namespace: Akavache.Reactive Assembly: Akavache.Reactive.dll Full name: Akavache.Reactive.IAkavacheBuilder Modifiers: public abstract

Summary

Interface for building and configuring BlobCache instances.

Applies to

net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.5, netstandard2.1, net481, net462, net471

Class hierarchy
classDiagram
class IAkavacheBuilder
class IAkavacheInstance {
    <>
}
IAkavacheInstance <|.. IAkavacheBuilder

Implements: IAkavacheInstance

Properties

NameSummary
FileLocationOptionGets the file location option.

Methods

NameSummary
WithApplicationNameSets the application name for cache directory paths.
WithExecutingAssemblyConfigures the executing assembly explicitly, bypassing the reflection fallback used by the default constructor.
WithInMemorySets the InMemory cache instance.
WithInMemoryDefaultsConfigures default in-memory caches for all cache types. Uses the appropriate InMemoryBlobCache based on the configured serializer.
WithLocalMachineSets the LocalMachine cache instance.
WithSecureSets the Secure cache instance.
WithUserAccountSets the UserAccount cache instance.
WithSerializerConfigures the serializer to use for cache operations.
WithLegacyFileLocationConfigures the builder to use legacy file locations for cache directories. This is required when migrating from V10 to V11 so that V11 can find and read the existing V10...
UseForcedDateTimeKindSets the forced DateTime kind for serialization operations.
BuildBuilds the configuration and returns the configured Akavache instance.

Extension members