BlobCache class¶
Attributes: [RequiresUnreferencedCode("Registrations for Akavache.Core")] [RequiresDynamicCode("Registrations for Akavache.Core")]
Defined in
Namespace: Akavache
Assembly: Akavache.Core.dll
Full name: Akavache.BlobCache
Modifiers: public static
Summary¶
A class which represents a blobbed cache.
Applies to
net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, 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.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0
Properties¶
| Name | Summary |
|---|---|
| static ApplicationName | Gets or sets your application's name. Set this at startup, this defines where your data will be stored (usually at %AppData%[ApplicationName]). |
| static LocalMachine | 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 UserAccount | 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... |
| static Secure | Gets or sets an IBlobCache that is encrypted - store sensitive data in this cache such as login information. |
| static InMemory | Gets or sets an IBlobCache that simply stores data in memory. Data stored in this cache will be lost when the application restarts. |
| static ForcedDateTimeKind | Gets or sets the DateTimeKind handling for BSON readers to be forced. |
| static TaskpoolScheduler | Gets or sets the Scheduler used for task pools. |
Methods¶
| Name | Summary |
|---|---|
| static EnsureInitialized | Makes sure that the system has been initialized. |
| static Shutdown | This method shuts down all of the blob caches. Make sure call it on app exit and await / Wait() on it. |