C# Class RedisDemo.Common.RedisSession

Inheritance: ISession
Datei anzeigen Open project: hwqdt/Demos

Public Methods

Method Description
Clear ( ) : void
CommitAsync ( ) : System.Threading.Tasks.Task
LoadAsync ( ) : System.Threading.Tasks.Task
RedisSession ( IRedis redis ) : System
Remove ( string key ) : void
Set ( string key, byte value ) : void
TryGetValue ( string key, byte &value ) : bool

Method Details

Clear() public method

public Clear ( ) : void
return void

CommitAsync() public method

public CommitAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

LoadAsync() public method

public LoadAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

RedisSession() public method

public RedisSession ( IRedis redis ) : System
redis IRedis
return System

Remove() public method

public Remove ( string key ) : void
key string
return void

Set() public method

public Set ( string key, byte value ) : void
key string
value byte
return void

TryGetValue() public method

public TryGetValue ( string key, byte &value ) : bool
key string
value byte
return bool