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¶
| Name | Summary |
|---|---|
| FileLocationOption | Gets the file location option. |
Methods¶
| Name | Summary |
|---|---|
| WithApplicationName | Sets the application name for cache directory paths. |
| WithExecutingAssembly | Configures the executing assembly explicitly, bypassing the reflection fallback used by the default constructor. |
| WithInMemory | Sets the InMemory cache instance. |
| WithInMemoryDefaults | Configures default in-memory caches for all cache types. Uses the appropriate InMemoryBlobCache based on the configured serializer. |
| WithLocalMachine | Sets the LocalMachine cache instance. |
| WithSecure | Sets the Secure cache instance. |
| WithUserAccount | Sets the UserAccount cache instance. |
| WithSerializer | Configures the serializer to use for cache operations. |
| WithLegacyFileLocation | Configures 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... |
| UseForcedDateTimeKind | Sets the forced DateTime kind for serialization operations. |
| Build | Builds the configuration and returns the configured Akavache instance. |
Extension members¶
AkavacheBuilderExtensions.WithInMemoryAkavacheBuilderExtensions.WithEncryptedSqliteProviderAkavacheBuilderExtensions.WithSqliteDefaultsAkavacheBuilderExtensions.WithSerializerNewtonsoftJsonAkavacheBuilderExtensions.WithSerializerNewtonsoftJsonAkavacheBuilderExtensions.WithSerializerNewtonsoftJsonAkavacheBuilderExtensions.WithSerializerNewtonsoftBsonAkavacheBuilderExtensions.WithSerializerNewtonsoftBsonAkavacheBuilderExtensions.WithSerializerNewtonsoftBsonAkavacheBuilderExtensions.WithSettingsCachePathAkavacheBuilderExtensions.WithSecureSettingsStoreAkavacheBuilderExtensions.WithSecureSettingsStoreAkavacheBuilderExtensions.WithSettingsStoreAkavacheBuilderExtensions.WithSettingsStoreAkavacheBuilderExtensions.WithSettingsStoreAkavacheBuilderExtensions.WithSettingsStoreAkavacheBuilderExtensions.WithSettingsStoreAkavacheBuilderExtensions.WithSqliteProviderAkavacheBuilderExtensions.WithSqliteDefaultsAkavacheBuilderExtensions.WithSerializerSystemTextJsonAkavacheBuilderExtensions.WithSerializerSystemTextJsonAkavacheBuilderExtensions.UseSystemTextJsonSerializerAkavacheBuilderExtensions.UseSystemJsonBsonSerializerAkavacheBuilderExtensions.UseSystemJsonBsonSerializerAkavacheBuilderExtensions.UseSystemJsonBsonSerializerAkavacheBuilderExtensions.WithV10FileNamesAkavacheBuilderExtensions.MigrateFromV10AkavacheBuilderExtensions.MigrateFromV10