Table of Contents

Class TenantResolutionContext

Namespace
Compendium.Multitenancy
Assembly
Compendium.Multitenancy.dll

Contains context information used for tenant resolution. Aggregates various request properties that tenant resolvers can use to identify tenants.

public sealed class TenantResolutionContext
Inheritance
TenantResolutionContext
Inherited Members

Properties

Headers

Gets or initializes the HTTP headers from the request.

public Dictionary<string, string> Headers { get; init; }

Property Value

Dictionary<string, string>

Host

Gets or initializes the host name from the request.

public string? Host { get; init; }

Property Value

string

Path

Gets or initializes the request path.

public string? Path { get; init; }

Property Value

string

Properties

Gets or initializes additional custom properties for resolution.

public Dictionary<string, object?> Properties { get; init; }

Property Value

Dictionary<string, object>

QueryParameters

Gets or initializes the query parameters from the request.

public Dictionary<string, string> QueryParameters { get; init; }

Property Value

Dictionary<string, string>