Chronicle.PerThreadSessionLifeCycle.getCurrentThreadSessions C# (CSharp) 메소드

getCurrentThreadSessions() 개인적인 메소드

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

            return _sessions[getThreadId()];
        }