Share via


ProtectedLocalStorage(IJSRuntime, IDataProtectionProvider) Constructor

Definition

Constructs an instance of ProtectedLocalStorage.

public:
 ProtectedLocalStorage(Microsoft::JSInterop::IJSRuntime ^ jsRuntime, Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider);
public ProtectedLocalStorage (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider);
new Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage : Microsoft.JSInterop.IJSRuntime * Microsoft.AspNetCore.DataProtection.IDataProtectionProvider -> Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage
Public Sub New (jsRuntime As IJSRuntime, dataProtectionProvider As IDataProtectionProvider)

Parameters

jsRuntime
IJSRuntime

The IJSRuntime.

dataProtectionProvider
IDataProtectionProvider

The IDataProtectionProvider.

Applies to