Class TenantResolutionResult
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Tenancy
Assembly: Cephalon.Abstractions.dll
Describes the outcome of one tenant-resolution attempt.
public sealed class TenantResolutionResultInheritance
Section titled “Inheritance”object ← TenantResolutionResult
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”IsResolved
Section titled “ IsResolved”Gets a value indicating whether tenant resolution succeeded.
public bool IsResolved { get; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”Gets the human-readable reason associated with the result.
public string? Reason { get; }Property Value
Section titled “Property Value”Source
Section titled “ Source”Gets the source or strategy that produced the result when one is known.
public string? Source { get; }Property Value
Section titled “Property Value”Tenant
Section titled “ Tenant”Gets the resolved tenant context when resolution succeeded.
public TenantContext? Tenant { get; }