2 instantiations of ProtectedBrowserStorageResult
Microsoft.AspNetCore.Components.Server (2)
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (2)
109new ProtectedBrowserStorageResult<TValue>(false, default) : 110new ProtectedBrowserStorageResult<TValue>(true, Unprotect<TValue>(purpose, protectedJson));
6 references to ProtectedBrowserStorageResult
Aspire.Dashboard (1)
Model\BrowserStorage\BrowserStorageBase.cs (1)
31var result = await _protectedBrowserStorage.GetAsync<TValue>(key).ConfigureAwait(false);
Microsoft.AspNetCore.Components.Server (2)
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (2)
89public ValueTask<ProtectedBrowserStorageResult<TValue>> GetAsync<TValue>(string key) 104public async ValueTask<ProtectedBrowserStorageResult<TValue>> GetAsync<TValue>(string purpose, string key)
Microsoft.AspNetCore.Components.Server.Tests (3)
ProtectedBrowserStorageTest.cs (3)
108var result = await protectedBrowserStorage.GetAsync<TestModel>(keyName); 135var result = await protectedBrowserStorage.GetAsync<TestModel>(customPurpose, keyName); 157var result = await protectedBrowserStorage.GetAsync<TestModel>("testKey");