Dela via


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.

public ref class DefaultSessionFeature : Microsoft::AspNetCore::Http::Features::ISessionFeature
public class DefaultSessionFeature : Microsoft.AspNetCore.Http.Features.ISessionFeature
type DefaultSessionFeature = class
    interface ISessionFeature
Public Class DefaultSessionFeature
Implements ISessionFeature
Inheritance
DefaultSessionFeature
Implements

Constructors

DefaultSessionFeature()

Properties

Session

The ISession for the current request.

Applies to