ILocalStorage
Assembly: ServiceStack.Blazor.dll
View Source
Declaration
public interface ILocalStorage
Methods
SetStringAsync(String, String)
View Source
Declaration
Task SetStringAsync(string name, string value)
Returns
Task
Parameters
Type | Name |
---|---|
System.String | name |
System.String | value |
SetItemAsync<T>(String, T)
View Source
Declaration
Task SetItemAsync<T>(string name, T value)
Returns
Task
Parameters
Type | Name |
---|---|
System.String | name |
<T> | value |
Type Parameters
T
GetStringAsync(String)
View Source
Declaration
Task<string> GetStringAsync(string name)
Returns
Task<System.String>
Parameters
Type | Name |
---|---|
System.String | name |
GetItemAsync<T>(String)
View Source
Declaration
Task<T> GetItemAsync<T>(string name)
Returns
Task<<T>>
Parameters
Type | Name |
---|---|
System.String | name |
Type Parameters
T
RemoveAsync(String)
View Source
Declaration
Task RemoveAsync(string name)
Returns
Task
Parameters
Type | Name |
---|---|
System.String | name |