Chronicle.PerThreadSessionLifeCycle.getCurrentThreadSessions C# (CSharp) Méthode

getCurrentThreadSessions() private méthode

private getCurrentThreadSessions ( ) : ISession>.Dictionary
Résultat ISession>.Dictionary
        private Dictionary<string, ISession> getCurrentThreadSessions()
        {
            if ( ! _sessions.ContainsKey(getThreadId()))
                _sessions.Add(getThreadId(), new Dictionary<string, ISession>());

            return _sessions[getThreadId()];
        }