1 instantiation of DistributedSession
Microsoft.AspNetCore.Session (1)
DistributedSessionStore.cs (1)
38return new DistributedSession(_cache, sessionKey, idleTimeout, ioTimeout, tryEstablishSession, _loggerFactory, isNewSessionKey);
28 references to DistributedSession
Microsoft.AspNetCore.Session (4)
DistributedSession.cs (4)
41/// Initializes a new instance of <see cref="DistributedSession"/>. 79_logger = loggerFactory.CreateLogger<DistributedSession>(); 424private sealed class DistributedSessionDebugView(DistributedSession session) 426private readonly DistributedSession _session = session;
Microsoft.AspNetCore.Session.Tests (24)
SessionTests.cs (24)
332TestSink.EnableWithTypeName<DistributedSession>, 333TestSink.EnableWithTypeName<DistributedSession>); 379TestSink.EnableWithTypeName<DistributedSession>, 380TestSink.EnableWithTypeName<DistributedSession>); 641TestSink.EnableWithTypeName<DistributedSession>, 642TestSink.EnableWithTypeName<DistributedSession>); 691TestSink.EnableWithTypeName<DistributedSession>, 692TestSink.EnableWithTypeName<DistributedSession>); 740TestSink.EnableWithTypeName<DistributedSession>, 741TestSink.EnableWithTypeName<DistributedSession>); 788TestSink.EnableWithTypeName<DistributedSession>, 789TestSink.EnableWithTypeName<DistributedSession>); 837|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 842|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 879var sessionLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).Single(); 897|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 902|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 942var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList(); 963|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 968|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1009var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList(); 1027|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1032|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1073var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();