3 instantiations of SessionOptions
Microsoft.AspNetCore.Session.Tests (3)
SessionTests.cs (3)
119app.UseSession(new SessionOptions 750app.UseSession(new SessionOptions() 912app.UseSession(new SessionOptions()
8 references to SessionOptions
Microsoft.AspNetCore.Session (8)
SessionMiddleware.cs (4)
22private readonly SessionOptions _options; 40IOptions<SessionOptions> options) 118private readonly SessionOptions _options; 121public SessionEstablisher(HttpContext context, string cookieValue, SessionOptions options)
SessionMiddlewareExtensions.cs (2)
30/// <param name="options">The <see cref="SessionOptions"/>.</param> 32public static IApplicationBuilder UseSession(this IApplicationBuilder app, SessionOptions options)
SessionOptions.cs (1)
62set => throw new InvalidOperationException(nameof(Expiration) + " cannot be set for the cookie defined by " + nameof(SessionOptions));
SessionServiceCollectionExtensions.cs (1)
38public static IServiceCollection AddSession(this IServiceCollection services, Action<SessionOptions> configure)