Class TenantResolutionRequest
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Tenancy
Assembly: Cephalon.Abstractions.dll
Describes the host-neutral hints available when resolving a tenant for the current operation.
public sealed class TenantResolutionRequestInheritance
Section titled “Inheritance”object ← TenantResolutionRequest
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TenantResolutionRequest(string?, string?, string?, string?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ TenantResolutionRequest(string?, string?, string?, string?, string?, IReadOnlyDictionary<string, string>?)”Creates a new tenant-resolution request.
public TenantResolutionRequest(string? hostName = null, string? pathBase = null, string? requestedTenantId = null, string? requestedTenantKey = null, string? userId = null, IReadOnlyDictionary<string, string>? attributes = null)Parameters
Section titled “Parameters”hostName string?
The host name associated with the current request when one is known.
pathBase string?
The path base associated with the current request when one is known.
requestedTenantId string?
The explicitly requested tenant identifier when one is known.
requestedTenantKey string?
The explicitly requested tenant key when one is known.
userId string?
The current user identifier when one is known.
attributes IReadOnlyDictionary<string, string>?
Optional resolution hints supplied by the host or caller.
Properties
Section titled “Properties”Attributes
Section titled “ Attributes”Gets optional resolution hints supplied by the host or caller.
public IReadOnlyDictionary<string, string> Attributes { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
HostName
Section titled “ HostName”Gets the host name associated with the current request when one is known.
public string? HostName { get; }Property Value
Section titled “Property Value”PathBase
Section titled “ PathBase”Gets the path base associated with the current request when one is known.
public string? PathBase { get; }Property Value
Section titled “Property Value”RequestedTenantId
Section titled “ RequestedTenantId”Gets the explicitly requested tenant identifier when one is known.
public string? RequestedTenantId { get; }Property Value
Section titled “Property Value”RequestedTenantKey
Section titled “ RequestedTenantKey”Gets the explicitly requested tenant key when one is known.
public string? RequestedTenantKey { get; }Property Value
Section titled “Property Value”UserId
Section titled “ UserId”Gets the current user identifier when one is known.
public string? UserId { get; }