4 implementations of CommitAsync
Microsoft.AspNetCore.Http.Tests (1)
DefaultHttpContextTests.cs (1)
463
public Task
CommitAsync
(CancellationToken cancellationToken)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
SessionStateTempDataProviderTest.cs (1)
114
public Task
CommitAsync
(CancellationToken cancellationToken = default(CancellationToken))
ViewComponentTests.cs (1)
281
public Task
CommitAsync
(CancellationToken cancellationToken = default(CancellationToken))
Microsoft.AspNetCore.Session (1)
DistributedSession.cs (1)
244
public async Task
CommitAsync
(CancellationToken cancellationToken = default)
3 references to CommitAsync
Microsoft.AspNetCore.Session (2)
ISessionStore.cs (1)
20
/// <see cref="ISession.
CommitAsync
(System.Threading.CancellationToken)"/> are allowed take.
SessionMiddleware.cs (1)
100
await feature.Session.
CommitAsync
();
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
985
await Assert.ThrowsAsync<OperationCanceledException>(() => context.Session.
CommitAsync
(token));