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

Class TenantGovernanceActionDecisionResult

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

Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll

Describes the result of one tenant-governance action decision.

public sealed class TenantGovernanceActionDecisionResult

objectTenantGovernanceActionDecisionResult

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

TenantGovernanceActionDecisionResult(string, string, string, bool, DateTimeOffset, TenantGovernanceActionDescriptor?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ TenantGovernanceActionDecisionResult(string, string, string, bool, DateTimeOffset, TenantGovernanceActionDescriptor?, string?, IReadOnlyDictionary<string, string>?)”

Creates a tenant-governance action decision result.

public TenantGovernanceActionDecisionResult(string tenantId, string actionId, string outcome, bool allowed, DateTimeOffset decidedAtUtc, TenantGovernanceActionDescriptor? matchedAction = null, string? reason = null, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The tenant identifier that was evaluated.

actionId string

The governance action identifier that was evaluated.

outcome string

The stable decision outcome.

allowed bool

A value indicating whether the governance action can proceed.

decidedAtUtc DateTimeOffset

The UTC timestamp when decision evaluation executed.

matchedAction TenantGovernanceActionDescriptor?

The matching governance action descriptor considered by decision evaluation.

reason string?

The optional operator-facing decision reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

Gets the governance action identifier that was evaluated.

public string ActionId { get; }

string

Gets a value indicating whether the governance action can proceed.

public bool Allowed { get; }

bool

Gets the UTC timestamp when decision evaluation executed.

public DateTimeOffset DecidedAtUtc { get; }

DateTimeOffset

Gets the matching governance action descriptor considered by decision evaluation.

public TenantGovernanceActionDescriptor? MatchedAction { get; }

TenantGovernanceActionDescriptor?

Gets optional result metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the stable decision outcome.

public string Outcome { get; }

string

Gets the optional operator-facing decision reason.

public string? Reason { get; }

string?

Gets the tenant identifier that was evaluated.

public string TenantId { get; }

string