The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

BlobCache Class

Summary

A class which represents a blobbed cache.
Namespace
Akavache
Base Types
  • object
graph BT Type-->Base0["object"] Type["BlobCache"] class Type type-node

Syntax

public static class BlobCache

Properties

Name Value Summary
ApplicationName string
Gets or sets your application's name. Set this at startup, this defines where your data will be stored (usually at %AppData%\[ApplicationName]).
static
ForcedDateTimeKind DateTimeKind?
Gets or sets the DateTimeKind handling for BSON readers to be forced.
static
InMemory ISecureBlobCache
Gets or sets an IBlobCache that simply stores data in memory. Data stored in this cache will be lost when the application restarts.
static
LocalMachine IBlobCache
Gets or sets the local machine cache. Store data here that is unrelated to the user account or shouldn't be uploaded to other machines (i.e. image cache data).
static
Secure ISecureBlobCache
Gets or sets an IBlobCache that is encrypted - store sensitive data in this cache such as login information.
static
TaskpoolScheduler IScheduler
Gets or sets the Scheduler used for task pools.
static
UserAccount IBlobCache
Gets or sets the user account cache. Store data here that is associated with the user; in large organizations, this data will be synced to all machines via NT Roaming Profiles.
static

Methods

Name Value Summary
EnsureInitialized() void
Makes sure that the system has been initialized.
static
Shutdown() Task
This method shuts down all of the blob caches. Make sure call it on app exit and await / Wait() on it.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.