4 implementations of CommitAsync
Microsoft.AspNetCore.Http.Tests (1)
DefaultHttpContextTests.cs (1)
463public Task CommitAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
SessionStateTempDataProviderTest.cs (1)
114public Task CommitAsync(CancellationToken cancellationToken = default(CancellationToken))
ViewComponentTests.cs (1)
281public Task CommitAsync(CancellationToken cancellationToken = default(CancellationToken))
Microsoft.AspNetCore.Session (1)
DistributedSession.cs (1)
244public 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)
100await feature.Session.CommitAsync();
Microsoft.AspNetCore.Session.Tests (1)
SessionTests.cs (1)
985await Assert.ThrowsAsync<OperationCanceledException>(() => context.Session.CommitAsync(token));