Chronicle.PerThreadSessionLifeCycle.getCurrentThreadSessions C# (CSharp) Method

getCurrentThreadSessions() private method

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

            return _sessions[getThreadId()];
        }