DefaultSessionFeature Class

Definition

This type exists only for the purpose of unit testing where the user can directly set the Session property without the need for creating a ISessionFeature.

C#
public class DefaultSessionFeature : Microsoft.AspNetCore.Http.Features.ISessionFeature
Inheritance
DefaultSessionFeature
Implements

Constructors

Properties

Session

The ISession for the current request.

Applies to

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0