mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01: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
|
|
@ -73,7 +73,7 @@ namespace TLSharp.Core
|
|||
|
||||
private ISessionStore _store;
|
||||
|
||||
private Session(ISessionStore store)
|
||||
public Session(ISessionStore store)
|
||||
{
|
||||
random = new Random();
|
||||
_store = store;
|
||||
|
|
|
|||
Loading…
Reference in a new issue