1 instantiation of DistributedSession
Microsoft.AspNetCore.Session (1)
DistributedSessionStore.cs (1)
38
return 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
>();
424
private sealed class DistributedSessionDebugView(
DistributedSession
session)
426
private readonly
DistributedSession
_session = session;
Microsoft.AspNetCore.Session.Tests (24)
SessionTests.cs (24)
332
TestSink.EnableWithTypeName<
DistributedSession
>,
333
TestSink.EnableWithTypeName<
DistributedSession
>);
379
TestSink.EnableWithTypeName<
DistributedSession
>,
380
TestSink.EnableWithTypeName<
DistributedSession
>);
641
TestSink.EnableWithTypeName<
DistributedSession
>,
642
TestSink.EnableWithTypeName<
DistributedSession
>);
691
TestSink.EnableWithTypeName<
DistributedSession
>,
692
TestSink.EnableWithTypeName<
DistributedSession
>);
740
TestSink.EnableWithTypeName<
DistributedSession
>,
741
TestSink.EnableWithTypeName<
DistributedSession
>);
788
TestSink.EnableWithTypeName<
DistributedSession
>,
789
TestSink.EnableWithTypeName<
DistributedSession
>);
837
|| writeContext.LoggerName.Equals(typeof(
DistributedSession
).FullName);
842
|| beginScopeContext.LoggerName.Equals(typeof(
DistributedSession
).FullName);
879
var 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);
942
var 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);
1009
var 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);
1073
var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(
DistributedSession
).FullName, StringComparison.Ordinal)).ToList();