mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 14:37:04 +00:00
Make Session constructor public for custom ISessionStore implementations
Load() method in ISessionStore requires public constructor of class Session in some cases. E.g., loading session from a db or a key-value store, manual loading from text-file, JSON/XML and so on.
This commit is contained in:
parent
0940d3d982
commit
7cbc40a090
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ namespace TLSharp.Core
|
|||
|
||||
private ISessionStore _store;
|
||||
|
||||
private Session(ISessionStore store)
|
||||
public Session(ISessionStore store)
|
||||
{
|
||||
random = new Random();
|
||||
_store = store;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue