diff --git a/src/Akavache.Core/Akavache.Core.csproj b/src/Akavache.Core/Akavache.Core.csproj
index 6277ffc7d..4d81ae46e 100644
--- a/src/Akavache.Core/Akavache.Core.csproj
+++ b/src/Akavache.Core/Akavache.Core.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net5.0
- $(TargetFrameworks);net461;uap10.0.16299;net5.0-windows
+ netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0
+ $(TargetFrameworks);net462;uap10.0.16299;net6.0-windows
Akavache.Core
Akavache
An asynchronous, persistent key-value store for desktop and mobile applications on .NET
@@ -14,7 +14,7 @@
-
+
@@ -23,17 +23,12 @@
-
-
-
-
-
@@ -69,7 +64,4 @@
-
-
-
diff --git a/src/Akavache.Drawing/Akavache.Drawing.csproj b/src/Akavache.Drawing/Akavache.Drawing.csproj
index 484b793cc..dc6568695 100644
--- a/src/Akavache.Drawing/Akavache.Drawing.csproj
+++ b/src/Akavache.Drawing/Akavache.Drawing.csproj
@@ -1,7 +1,7 @@
- netstandard2.0;netstandard2.1;MonoAndroid10.0;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40;
- $(TargetFrameworks);net461;uap10.0.16299;netcoreapp3.1;net5.0-windows
+ netstandard2.0;netstandard2.1;MonoAndroid11.0;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40;
+ $(TargetFrameworks);net462;uap10.0.16299;net6.0-windows
Akavache.Drawing
Akavache
An asynchronous, persistent key-value store for desktop and mobile applications on .NET
@@ -12,6 +12,6 @@
-
+
diff --git a/src/Akavache.Mobile/Akavache.Mobile.csproj b/src/Akavache.Mobile/Akavache.Mobile.csproj
index 97d836e88..54ad9abf9 100644
--- a/src/Akavache.Mobile/Akavache.Mobile.csproj
+++ b/src/Akavache.Mobile/Akavache.Mobile.csproj
@@ -1,8 +1,8 @@
- netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net5.0
- $(TargetFrameworks);net461;uap10.0.16299
+ netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0
+ $(TargetFrameworks);net462;uap10.0.16299
Akavache.Mobile
Akavache.Mobile
An asynchronous, persistent key-value store for desktop and mobile applications on .NET
@@ -12,7 +12,7 @@
-
+
diff --git a/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj b/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj
index 6d9b55516..a0a4f94d8 100644
--- a/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj
+++ b/src/Akavache.Sqlite3/Akavache.Sqlite3.csproj
@@ -1,8 +1,8 @@
- netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40
- $(TargetFrameworks);net461;uap10.0.16299;net5.0
+ netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0
+ $(TargetFrameworks);net462;uap10.0.16299
Akavache.Sqlite3
Akavache.Sqlite3
Akavache Sqlite3
@@ -16,7 +16,7 @@
-
+
diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net461.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net461.approved.txt
deleted file mode 100644
index 91077663a..000000000
--- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net461.approved.txt
+++ /dev/null
@@ -1,267 +0,0 @@
-[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Drawing")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Mobile")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Sqlite3")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Tests")]
-[assembly: System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.6.1", FrameworkDisplayName=".NET Framework 4.6.1")]
-namespace Akavache
-{
- public class AkavacheHttpMixin : Akavache.IAkavacheHttpMixin
- {
- public AkavacheHttpMixin() { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- }
- public static class BlobCache
- {
- public static string ApplicationName { get; set; }
- public static System.DateTimeKind? ForcedDateTimeKind { get; set; }
- public static Akavache.ISecureBlobCache InMemory { get; set; }
- public static Akavache.IBlobCache LocalMachine { get; set; }
- public static Akavache.ISecureBlobCache Secure { get; set; }
- public static System.Reactive.Concurrency.IScheduler TaskpoolScheduler { get; set; }
- public static Akavache.IBlobCache UserAccount { get; set; }
- public static void EnsureInitialized() { }
- public static System.Threading.Tasks.Task Shutdown() { }
- }
- public static class BulkOperationsMixin
- {
- public static System.IObservable> Get(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable> GetCreatedAt(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable> GetObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable Insert(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable InsertObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable Invalidate(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable InvalidateObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- }
- public class CacheEntry
- {
- public CacheEntry(string? typeName, byte[] value, System.DateTimeOffset createdAt, System.DateTimeOffset? expiresAt) { }
- public System.DateTimeOffset CreatedAt { get; set; }
- public System.DateTimeOffset? ExpiresAt { get; set; }
- public string? TypeName { get; set; }
- public byte[] Value { get; set; }
- }
- public enum DataProtectionScope
- {
- CurrentUser = 0,
- }
- public static class DependencyResolverMixin
- {
- public static void InitializeAkavache(this Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { }
- }
- public class EncryptionProvider : Akavache.IEncryptionProvider
- {
- public EncryptionProvider() { }
- public System.IObservable DecryptBlock(byte[] block) { }
- public System.IObservable EncryptBlock(byte[] block) { }
- }
- public static class HttpMixinExtensions
- {
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- }
- public interface IAkavacheHttpMixin
- {
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- }
- public interface IBlobCache : System.IDisposable
- {
- System.DateTimeKind? ForcedDateTimeKind { get; set; }
- System.Reactive.Concurrency.IScheduler Scheduler { get; }
- System.IObservable Shutdown { get; }
- System.IObservable Flush();
- System.IObservable Get(string key);
- System.IObservable> GetAllKeys();
- System.IObservable GetCreatedAt(string key);
- System.IObservable Insert(string key, byte[] data, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable Invalidate(string key);
- System.IObservable InvalidateAll();
- System.IObservable Vacuum();
- }
- public interface IBulkBlobCache : Akavache.IBlobCache, System.IDisposable
- {
- System.IObservable> Get(System.Collections.Generic.IEnumerable keys);
- System.IObservable> GetCreatedAt(System.Collections.Generic.IEnumerable keys);
- System.IObservable Insert(System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable Invalidate(System.Collections.Generic.IEnumerable keys);
- }
- public interface IEncryptionProvider
- {
- System.IObservable DecryptBlock(byte[] block);
- System.IObservable EncryptBlock(byte[] block);
- }
- public interface IFilesystemProvider
- {
- System.IObservable CreateRecursive(string path);
- System.IObservable Delete(string path);
- string? GetDefaultLocalMachineCacheDirectory();
- string? GetDefaultRoamingCacheDirectory();
- string? GetDefaultSecretCacheDirectory();
- System.IObservable OpenFileForReadAsync(string path, System.Reactive.Concurrency.IScheduler scheduler);
- System.IObservable OpenFileForWriteAsync(string path, System.Reactive.Concurrency.IScheduler scheduler);
- }
- public interface IKeyedOperationQueue
- {
- System.IObservable EnqueueObservableOperation(string key, System.Func> asyncCalculationFunc);
- System.IObservable EnqueueOperation(string key, System.Action action);
- System.IObservable EnqueueOperation(string key, System.Func calculationFunc);
- System.IObservable ShutdownQueue();
- }
- public interface IObjectBlobCache : Akavache.IBlobCache, System.IDisposable
- {
- System.IObservable> GetAllObjects();
- System.IObservable GetObject(string key);
- System.IObservable GetObjectCreatedAt(string key);
- System.IObservable InsertObject(string key, T value, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable InvalidateAllObjects();
- System.IObservable InvalidateObject(string key);
- }
- public interface IObjectBulkBlobCache : Akavache.IBlobCache, Akavache.IBulkBlobCache, Akavache.IObjectBlobCache, System.IDisposable
- {
- System.IObservable> GetObjects(System.Collections.Generic.IEnumerable keys);
- System.IObservable InsertObjects(System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable InvalidateObjects(System.Collections.Generic.IEnumerable keys);
- }
- public interface ISecureBlobCache : Akavache.IBlobCache, System.IDisposable { }
- public class InMemoryBlobCache : Akavache.IBlobCache, Akavache.IObjectBlobCache, Akavache.ISecureBlobCache, Splat.IEnableLogger, System.IDisposable
- {
- public InMemoryBlobCache() { }
- public InMemoryBlobCache(System.Collections.Generic.IEnumerable> initialContents) { }
- public InMemoryBlobCache(System.Reactive.Concurrency.IScheduler scheduler) { }
- public InMemoryBlobCache(System.Reactive.Concurrency.IScheduler? scheduler, System.Collections.Generic.IEnumerable>? initialContents) { }
- public System.DateTimeKind? ForcedDateTimeKind { get; set; }
- public System.Reactive.Concurrency.IScheduler Scheduler { get; set; }
- public System.IObservable Shutdown { get; }
- public void Dispose() { }
- protected virtual void Dispose(bool isDisposing) { }
- public System.IObservable Flush() { }
- public System.IObservable Get(string key) { }
- public System.IObservable> GetAllKeys() { }
- public System.IObservable> GetAllObjects() { }
- public System.IObservable GetCreatedAt(string key) { }
- public System.IObservable GetObject(string key) { }
- public System.IObservable GetObjectCreatedAt(string key) { }
- public System.IObservable Insert(string key, byte[] data, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable InsertObject(string key, T value, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable Invalidate(string key) { }
- public System.IObservable InvalidateAll() { }
- public System.IObservable InvalidateAllObjects() { }
- public System.IObservable InvalidateObject(string key) { }
- public System.IObservable Vacuum() { }
- public static Akavache.InMemoryBlobCache OverrideGlobals(System.Collections.Generic.IDictionary initialContents, System.Reactive.Concurrency.IScheduler? scheduler = null) { }
- public static Akavache.InMemoryBlobCache OverrideGlobals(System.Collections.Generic.IDictionary initialContents, System.Reactive.Concurrency.IScheduler? scheduler = null) { }
- public static Akavache.InMemoryBlobCache OverrideGlobals(System.Reactive.Concurrency.IScheduler? scheduler = null, params System.Collections.Generic.KeyValuePair<, >[] initialContents) { }
- }
- public static class JsonSerializationMixin
- {
- public static System.IObservable> GetAllObjects(this Akavache.IBlobCache blobCache) { }
- public static System.IObservable GetAndFetchLatest(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.Func? fetchPredicate = null, System.DateTimeOffset? absoluteExpiration = default, bool shouldInvalidateOnError = false, System.Func? cacheValidationPredicate = null) { }
- public static System.IObservable GetAndFetchLatest(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.Func? fetchPredicate = null, System.DateTimeOffset? absoluteExpiration = default, bool shouldInvalidateOnError = false, System.Func? cacheValidationPredicate = null) { }
- public static System.IObservable GetObject(this Akavache.IBlobCache blobCache, string key) { }
- public static System.IObservable GetObjectCreatedAt(this Akavache.IBlobCache blobCache, string key) { }
- public static System.IObservable GetOrCreateObject(this Akavache.IBlobCache blobCache, string key, System.Func fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable GetOrFetchObject(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable GetOrFetchObject(this Akavache.IBlobCache blobCache, string key, System.Func> fetchFunc, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable InsertAllObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable InsertObject(this Akavache.IBlobCache blobCache, string key, T value, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable InvalidateAllObjects(this Akavache.IBlobCache blobCache) { }
- public static System.IObservable InvalidateObject(this Akavache.IBlobCache blobCache, string key) { }
- }
- public class KeyedOperationQueue : Akavache.IKeyedOperationQueue, Splat.IEnableLogger, System.IDisposable
- {
- public KeyedOperationQueue(System.Reactive.Concurrency.IScheduler? scheduler = null) { }
- public void Dispose() { }
- protected virtual void Dispose(bool disposing) { }
- public System.IObservable EnqueueObservableOperation(string key, System.Func> asyncCalculationFunc) { }
- public System.IObservable EnqueueOperation(string key, System.Action action) { }
- public System.IObservable EnqueueOperation(string key, System.Func calculationFunc) { }
- public System.IObservable ShutdownQueue() { }
- }
- public class LoginInfo
- {
- public LoginInfo(string username, string password) { }
- public string Password { get; }
- public string UserName { get; }
- }
- public static class LoginMixin
- {
- public static System.IObservable EraseLogin(this Akavache.ISecureBlobCache blobCache, string host = "default") { }
- public static System.IObservable GetLoginAsync(this Akavache.ISecureBlobCache blobCache, string host = "default") { }
- public static System.IObservable SaveLogin(this Akavache.ISecureBlobCache blobCache, string user, string password, string host = "default", System.DateTimeOffset? absoluteExpiration = default) { }
- }
- public static class ProtectedData
- {
- public static byte[] Protect(byte[] originalData, byte[]? entropy, Akavache.DataProtectionScope scope = 0) { }
- public static byte[] Unprotect(byte[] originalData, byte[]? entropy, Akavache.DataProtectionScope scope = 0) { }
- }
- public static class RelativeTimeMixin
- {
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string url, System.TimeSpan expiration, System.Collections.Generic.Dictionary? headers = null, bool fetchAlways = false) { }
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, System.Uri url, System.TimeSpan expiration, System.Collections.Generic.Dictionary? headers = null, bool fetchAlways = false) { }
- public static System.IObservable Insert(this Akavache.IBlobCache blobCache, string key, byte[] data, System.TimeSpan expiration) { }
- public static System.IObservable InsertObject(this Akavache.IBlobCache blobCache, string key, T value, System.TimeSpan expiration) { }
- public static System.IObservable SaveLogin(this Akavache.ISecureBlobCache blobCache, string user, string password, string host, System.TimeSpan expiration) { }
- }
- public class SimpleFilesystemProvider : Akavache.IFilesystemProvider
- {
- public SimpleFilesystemProvider() { }
- public System.IObservable CreateRecursive(string path) { }
- public System.IObservable Delete(string path) { }
- public string GetDefaultLocalMachineCacheDirectory() { }
- public string GetDefaultRoamingCacheDirectory() { }
- public string GetDefaultSecretCacheDirectory() { }
- public System.IObservable OpenFileForReadAsync(string path, System.Reactive.Concurrency.IScheduler scheduler) { }
- public System.IObservable OpenFileForWriteAsync(string path, System.Reactive.Concurrency.IScheduler scheduler) { }
- protected static string GetAssemblyDirectoryName() { }
- }
-}
-namespace Akavache.Core
-{
- public class Registrations
- {
- public Registrations() { }
- public void Register(Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { }
- }
-}
-namespace Akavache.Internal
-{
- [System.Flags]
- public enum FileAccess
- {
- Read = 1,
- Write = 2,
- ReadWrite = 3,
- }
- public enum FileMode
- {
- CreateNew = 1,
- Create = 2,
- Open = 3,
- OpenOrCreate = 4,
- Truncate = 5,
- Append = 6,
- }
- [System.Flags]
- public enum FileShare
- {
- None = 0,
- Read = 1,
- Write = 2,
- ReadWrite = 3,
- Delete = 4,
- Inheritable = 16,
- }
-}
-namespace System
-{
- public static class StreamMixins { }
-}
\ No newline at end of file
diff --git a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net5.0.approved.txt b/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net5.0.approved.txt
deleted file mode 100644
index 9433aa13a..000000000
--- a/src/Akavache.Tests/API/ApiApprovalTests.AkavacheCore.net5.0.approved.txt
+++ /dev/null
@@ -1,269 +0,0 @@
-[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/reactiveui/akavache")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Drawing")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Mobile")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Sqlite3")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Akavache.Tests")]
-[assembly: System.Runtime.Versioning.SupportedOSPlatform("Windows7.0")]
-[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v5.0", FrameworkDisplayName="")]
-[assembly: System.Runtime.Versioning.TargetPlatform("Windows7.0")]
-namespace Akavache
-{
- public class AkavacheHttpMixin : Akavache.IAkavacheHttpMixin
- {
- public AkavacheHttpMixin() { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- }
- public static class BlobCache
- {
- public static string ApplicationName { get; set; }
- public static System.DateTimeKind? ForcedDateTimeKind { get; set; }
- public static Akavache.ISecureBlobCache InMemory { get; set; }
- public static Akavache.IBlobCache LocalMachine { get; set; }
- public static Akavache.ISecureBlobCache Secure { get; set; }
- public static System.Reactive.Concurrency.IScheduler TaskpoolScheduler { get; set; }
- public static Akavache.IBlobCache UserAccount { get; set; }
- public static void EnsureInitialized() { }
- public static System.Threading.Tasks.Task Shutdown() { }
- }
- public static class BulkOperationsMixin
- {
- public static System.IObservable> Get(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable> GetCreatedAt(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable> GetObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable Insert(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable InsertObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable Invalidate(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- public static System.IObservable InvalidateObjects(this Akavache.IBlobCache blobCache, System.Collections.Generic.IEnumerable keys) { }
- }
- public class CacheEntry
- {
- public CacheEntry(string? typeName, byte[] value, System.DateTimeOffset createdAt, System.DateTimeOffset? expiresAt) { }
- public System.DateTimeOffset CreatedAt { get; set; }
- public System.DateTimeOffset? ExpiresAt { get; set; }
- public string? TypeName { get; set; }
- public byte[] Value { get; set; }
- }
- public enum DataProtectionScope
- {
- CurrentUser = 0,
- }
- public static class DependencyResolverMixin
- {
- public static void InitializeAkavache(this Splat.IMutableDependencyResolver resolver, Splat.IReadonlyDependencyResolver readonlyDependencyResolver) { }
- }
- public class EncryptionProvider : Akavache.IEncryptionProvider
- {
- public EncryptionProvider() { }
- public System.IObservable DecryptBlock(byte[] block) { }
- public System.IObservable EncryptBlock(byte[] block) { }
- }
- public static class HttpMixinExtensions
- {
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- public static System.IObservable DownloadUrl(this Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default) { }
- }
- public interface IAkavacheHttpMixin
- {
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, string url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable DownloadUrl(Akavache.IBlobCache blobCache, string key, System.Uri url, System.Collections.Generic.IDictionary? headers = null, bool fetchAlways = false, System.DateTimeOffset? absoluteExpiration = default);
- }
- public interface IBlobCache : System.IDisposable
- {
- System.DateTimeKind? ForcedDateTimeKind { get; set; }
- System.Reactive.Concurrency.IScheduler Scheduler { get; }
- System.IObservable Shutdown { get; }
- System.IObservable Flush();
- System.IObservable Get(string key);
- System.IObservable> GetAllKeys();
- System.IObservable GetCreatedAt(string key);
- System.IObservable Insert(string key, byte[] data, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable Invalidate(string key);
- System.IObservable InvalidateAll();
- System.IObservable Vacuum();
- }
- public interface IBulkBlobCache : Akavache.IBlobCache, System.IDisposable
- {
- System.IObservable> Get(System.Collections.Generic.IEnumerable keys);
- System.IObservable> GetCreatedAt(System.Collections.Generic.IEnumerable keys);
- System.IObservable Insert(System.Collections.Generic.IDictionary keyValuePairs, System.DateTimeOffset? absoluteExpiration = default);
- System.IObservable Invalidate(System.Collections.Generic.IEnumerable keys);
- }
- public interface IEncryptionProvider
- {
- System.IObservable DecryptBlock(byte[] block);
- System.IObservable EncryptBlock(byte[] block);
- }
- public interface IFilesystemProvider
- {
- System.IObservable CreateRecursive(string path);
- System.IObservable Delete(string path);
- string? GetDefaultLocalMachineCacheDirectory();
- string? GetDefaultRoamingCacheDirectory();
- string? GetDefaultSecretCacheDirectory();
- System.IObservable OpenFileForReadAsync(string path, System.Reactive.Concurrency.IScheduler scheduler);
- System.IObservable OpenFileForWriteAsync(string path, System.Reactive.Concurrency.IScheduler scheduler);
- }
- public interface IKeyedOperationQueue
- {
- System.IObservable EnqueueObservableOperation(string key, System.Func> asyncCalculationFunc);
- System.IObservable EnqueueOperation(string key, System.Action action);
- System.IObservable EnqueueOperation(string key, System.Func