Table of Contents

Interface IAkavacheInstance

Namespace
Akavache
Assembly
Akavache.dll

Represents a configured Akavache instance with access to all cache types and configuration.

public interface IAkavacheInstance
Extension Methods

Properties

ApplicationName

Gets the application name used for cache directory paths.

string ApplicationName { get; }

Property Value

string

ApplicationRootPath

Gets the application root path.

string? ApplicationRootPath { get; }

Property Value

string

ExecutingAssembly

Gets the executing assembly.

Assembly ExecutingAssembly { get; }

Property Value

Assembly

ExecutingAssemblyName

Gets the name of the executing assembly.

string? ExecutingAssemblyName { get; }

Property Value

string

ForcedDateTimeKind

Gets or sets the forced DateTime kind for DateTime serialization. When set, all DateTime values will be converted to this kind during cache operations.

DateTimeKind? ForcedDateTimeKind { get; set; }

Property Value

DateTimeKind?

HttpService

Gets or sets the HTTP service for web-based cache operations.

IHttpService? HttpService { get; set; }

Property Value

IHttpService

InMemory

Gets the InMemory cache instance for temporary data storage.

IBlobCache? InMemory { get; }

Property Value

IBlobCache

LocalMachine

Gets the LocalMachine cache instance for persistent but temporary data.

IBlobCache? LocalMachine { get; }

Property Value

IBlobCache

Secure

Gets the Secure cache instance for encrypted data storage.

ISecureBlobCache? Secure { get; }

Property Value

ISecureBlobCache

Serializer

Gets the serializer used for object serialization and deserialization.

ISerializer? Serializer { get; }

Property Value

ISerializer

SerializerTypeName

Gets the name of the serializer type.

string? SerializerTypeName { get; }

Property Value

string

SettingsCachePath

Gets or sets the settings cache path.

string? SettingsCachePath { get; }

Property Value

string

UserAccount

Gets the UserAccount cache instance for user-specific persistent data.

IBlobCache? UserAccount { get; }

Property Value

IBlobCache

Version

Gets the version of the executing assembly.

Version? Version { get; }

Property Value

Version