TenantNotFoundNotification

Notification raised when the tenant is not found.

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

Constructors

TenantNotFoundNotification

Initializes a new instance of TenantNotFoundNotification.

Signature:
public Void TenantNotFoundNotification(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; }

ResolvedTenant

Tenant resolved by this notification implementation.

Signature:
public TTenant ResolvedTenant { get; set; }

TenantName

Tenant name that we are trying to resolved.

Signature:
public String TenantName { get; set; }