Class CookieBasedStateStorage
Inheritance
System.Object
CookieBasedStateStorage
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public class CookieBasedStateStorage : Object, IStateStorage
Constructors
CookieBasedStateStorage(IHttpContextAccessor)
Declaration
public CookieBasedStateStorage(IHttpContextAccessor httpContextAccesor)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Http.IHttpContextAccessor |
httpContextAccesor |
|
Properties
IsAvailable
Declaration
public bool IsAvailable { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Delete(String)
Declaration
public void Delete(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Load(String)
Declaration
public object Load(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Object |
|
Save(String, Object)
Declaration
public void Save(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
Implements
Extension Methods