2 writes to _store
Microsoft.AspNetCore.Session (2)
DistributedSession.cs (2)
78
_store
= new DefaultDistributedSessionStore();
201
_store
= new NoOpSessionStore();
10 references to _store
Microsoft.AspNetCore.Session (10)
DistributedSession.cs (10)
127
return
_store
.Keys.Select(key => key.KeyString);
135
return
_store
.TryGetValue(new EncodedKey(key), out value);
159
_store
.SetValue(encodedKey, copy);
167
_isModified |=
_store
.Remove(new EncodedKey(key));
174
_isModified |=
_store
.Count > 0;
175
_store
.Clear();
285
_logger.SessionStored(_sessionKey, Id,
_store
.Count);
320
SerializeNumAs3Bytes(output,
_store
.Count);
323
foreach (var entry in
_store
)
350
_store
.SetValue(key, ReadBytes(content, dataLength));