Table of Contents

Method Apply

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

Apply(HttpContext)

A method that returns a result of application of this filter to the request context.

(bool WasMapped, string? SessionSuffix, int Order) Apply(HttpContext Context)

Parameters

Context HttpContext

A request context to which the filter to be applied.

Returns

(bool WasMapped, string SessionSuffix, int Order)

The result of the application of the filter to the request context:

  • bool WasMapped - is the request accepted by the filter;
  • string SessionSuffix - the suffix to be added to the Id property of an active session to which the request will be assigned;
  • int Order - the order of the filter that have accepted the request;