ข้ามไปยังเนื้อหา

Class TenantResolutionResult

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Tenancy
Assembly: Cephalon.Abstractions.dll

Describes the outcome of one tenant-resolution attempt.

public sealed class TenantResolutionResult

objectTenantResolutionResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

TenantResolutionResult(TenantContext?, string?, string?)

Section titled “ TenantResolutionResult(TenantContext?, string?, string?)”

Creates a new tenant-resolution result.

public TenantResolutionResult(TenantContext? tenant, string? source = null, string? reason = null)

tenant TenantContext?

The resolved tenant context when resolution succeeded.

source string?

The source or strategy that produced the result when one is known.

reason string?

The human-readable reason associated with the result.

Gets a value indicating whether tenant resolution succeeded.

public bool IsResolved { get; }

bool

Gets the human-readable reason associated with the result.

public string? Reason { get; }

string?

Gets the source or strategy that produced the result when one is known.

public string? Source { get; }

string?

Gets the resolved tenant context when resolution succeeded.

public TenantContext? Tenant { get; }

TenantContext?