TenantResolvedNotification

Notification raised when a tenant was resolved.

Namespace:
Inetdev.AspNetCore.Multitenancy.Notifications
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

TenantResolvedNotification

Initializes a new instance of TenantResolvedNotification.

Signature:
public Void TenantResolvedNotification(context, options)
Parameters
Name Type Summary
context HttpContext Current HttpContext.
options TenantResolverOptions<TTenant> Tenant resolver configuration.

Properties

Context

Current HttpContext.

Signature:
public HttpContext Context { get; set; }

IsRequestHandled

Whether the request is handled and the middleware pipeline must be short cutted.

Signature:
public Boolean IsRequestHandled { get; set; }

Options

Tenant resolver configuration.

Signature:
public TenantResolverOptions<TTenant> Options { get; set; }

Tenant

Resolved tenant.

Signature:
public TTenant Tenant { get; set; }