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

Class RestEndpointAuthoringPolicyDescriptor

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

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Describes one behavior-level REST authoring policy together with its runtime effect.

public sealed class RestEndpointAuthoringPolicyDescriptor

objectRestEndpointAuthoringPolicyDescriptor

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

This descriptor keeps authoring-policy intent readable as a first-class runtime answer while preserving separate buckets for authoring-policy suppression, later precedence suppression, and later governance suppression.

RestEndpointAuthoringPolicyDescriptor(string, bool, bool, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointAuthoringPolicySuppressionKind>?, IReadOnlyList<RestEndpointAuthoringPolicySuppressionSummaryDescriptor>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointAuthoringPolicyAuthoringStyleDescriptor>?, IReadOnlyList<RestEndpointGovernanceSuppressionSummaryDescriptor>?, IReadOnlyList<RestEndpointGovernanceOverrideSummaryDescriptor>?, IReadOnlyList<RestEndpointGovernanceSkippedSuppressionSummaryDescriptor>?, IReadOnlyList<RestEndpointGovernanceSkippedOverrideSummaryDescriptor>?)

Section titled “ RestEndpointAuthoringPolicyDescriptor(string, bool, bool, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointAuthoringPolicySuppressionKind>?, IReadOnlyList<RestEndpointAuthoringPolicySuppressionSummaryDescriptor>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointAuthoringPolicyAuthoringStyleDescriptor>?, IReadOnlyList<RestEndpointGovernanceSuppressionSummaryDescriptor>?, IReadOnlyList<RestEndpointGovernanceOverrideSummaryDescriptor>?, IReadOnlyList<RestEndpointGovernanceSkippedSuppressionSummaryDescriptor>?, IReadOnlyList<RestEndpointGovernanceSkippedOverrideSummaryDescriptor>?)”

Creates a REST authoring-policy runtime descriptor.

public RestEndpointAuthoringPolicyDescriptor(string behaviorId, bool isConfigured = false, bool allowMultiplePublishedCandidates = false, string? preferredAuthoringStyle = null, IReadOnlyList<string>? allowedAuthoringStyles = null, IReadOnlyList<string>? disallowedAuthoringStyles = null, IReadOnlyList<string>? candidateIds = null, IReadOnlyList<string>? retainedCandidateIds = null, IReadOnlyList<string>? publishedCandidateIds = null, IReadOnlyList<string>? precedenceSuppressedCandidateIds = null, IReadOnlyList<string>? governanceSuppressedCandidateIds = null, IReadOnlyList<string>? suppressedCandidateIds = null, IReadOnlyList<RestEndpointAuthoringPolicySuppressionKind>? suppressionKinds = null, IReadOnlyList<RestEndpointAuthoringPolicySuppressionSummaryDescriptor>? suppressionSummaries = null, IReadOnlyList<string>? hostGovernanceEligibleCandidateIds = null, IReadOnlyList<string>? hostGovernanceIneligibleCandidateIds = null, IReadOnlyList<string>? skippedSuppressionIds = null, IReadOnlyList<string>? skippedOverrideIds = null, IReadOnlyList<RestEndpointAuthoringPolicyAuthoringStyleDescriptor>? authoringStyleSummaries = null, IReadOnlyList<RestEndpointGovernanceSuppressionSummaryDescriptor>? governanceSuppressionSummaries = null, IReadOnlyList<RestEndpointGovernanceOverrideSummaryDescriptor>? governanceOverrideSummaries = null, IReadOnlyList<RestEndpointGovernanceSkippedSuppressionSummaryDescriptor>? skippedSuppressionSummaries = null, IReadOnlyList<RestEndpointGovernanceSkippedOverrideSummaryDescriptor>? skippedOverrideSummaries = null)

behaviorId string

The stable behavior identifier that this policy applies to.

isConfigured bool

true when the policy was supplied through host configuration; otherwise false when the runtime is exposing the implicit default policy.

allowMultiplePublishedCandidates bool

true when the policy explicitly allows more than one projection candidate to remain published for the same behavior boundary after authoring-policy enforcement.

preferredAuthoringStyle string?

The normalized preferred authoring style when the policy declares one.

allowedAuthoringStyles IReadOnlyList<string>?

The normalized authoring styles that the policy explicitly allows for this behavior boundary when one or more are declared.

disallowedAuthoringStyles IReadOnlyList<string>?

The normalized authoring styles that the policy explicitly disallows for this behavior boundary when one or more are declared.

candidateIds IReadOnlyList<string>?

The ordered candidate identifiers visible for this behavior boundary before authoring-policy enforcement is considered.

retainedCandidateIds IReadOnlyList<string>?

The ordered candidate identifiers that survived authoring-policy enforcement, even if a later precedence or host-governance step suppressed them.

publishedCandidateIds IReadOnlyList<string>?

The ordered candidate identifiers that remain published after all runtime publication steps.

precedenceSuppressedCandidateIds IReadOnlyList<string>?

The ordered candidate identifiers that survived authoring policy but were later suppressed by candidate precedence.

governanceSuppressedCandidateIds IReadOnlyList<string>?

The ordered candidate identifiers that survived authoring policy but were later suppressed by host-level REST governance.

suppressedCandidateIds IReadOnlyList<string>?

The ordered candidate identifiers that were suppressed by behavior-level authoring-policy enforcement.

suppressionKinds IReadOnlyList<RestEndpointAuthoringPolicySuppressionKind>?

The grouped authoring-policy suppression kinds that appear in the runtime effect.

suppressionSummaries IReadOnlyList<RestEndpointAuthoringPolicySuppressionSummaryDescriptor>?

The grouped authoring-policy suppression outcomes summarized by suppression kind.

hostGovernanceEligibleCandidateIds IReadOnlyList<string>?

The ordered candidate identifiers whose original projections allowed host governance to participate for this behavior boundary.

hostGovernanceIneligibleCandidateIds IReadOnlyList<string>?

The ordered candidate identifiers whose original projections kept host governance out of scope for this behavior boundary.

skippedSuppressionIds IReadOnlyList<string>?

The ordered suppression-rule identifiers that targeted host-governance-ineligible candidates in this behavior boundary.

skippedOverrideIds IReadOnlyList<string>?

The ordered override-rule identifiers that targeted host-governance-ineligible candidates in this behavior boundary.

authoringStyleSummaries IReadOnlyList<RestEndpointAuthoringPolicyAuthoringStyleDescriptor>?

The per-authoring-style runtime buckets that explain how this policy’s candidate, retained, published, precedence-suppressed, governance-suppressed, and authoring-policy-suppressed outcomes distribute across authoring styles.

governanceSuppressionSummaries IReadOnlyList<RestEndpointGovernanceSuppressionSummaryDescriptor>?

The grouped host-governance suppression-rule outcomes summarized by rule for this behavior boundary.

governanceOverrideSummaries IReadOnlyList<RestEndpointGovernanceOverrideSummaryDescriptor>?

The grouped host-governance override-rule outcomes summarized by rule for this behavior boundary.

skippedSuppressionSummaries IReadOnlyList<RestEndpointGovernanceSkippedSuppressionSummaryDescriptor>?

The grouped host-governance-skipped suppression-rule outcomes summarized by rule for this behavior boundary.

skippedOverrideSummaries IReadOnlyList<RestEndpointGovernanceSkippedOverrideSummaryDescriptor>?

The grouped host-governance-skipped override-rule outcomes summarized by rule for this behavior boundary.

Gets a value indicating whether the policy explicitly allows multiple published candidates for the same behavior boundary after authoring-policy enforcement.

public bool AllowMultiplePublishedCandidates { get; }

bool

Gets the normalized authoring styles that the policy explicitly allows.

public IReadOnlyList<string> AllowedAuthoringStyles { get; }

IReadOnlyList<string>

Gets the per-authoring-style runtime buckets that explain how this policy’s outcomes distribute across authoring styles.

public IReadOnlyList<RestEndpointAuthoringPolicyAuthoringStyleDescriptor> AuthoringStyleSummaries { get; }

IReadOnlyList<RestEndpointAuthoringPolicyAuthoringStyleDescriptor>

Gets the stable behavior identifier that this authoring policy applies to.

public string BehaviorId { get; }

string

Gets the ordered candidate identifiers visible for this behavior boundary.

public IReadOnlyList<string> CandidateIds { get; }

IReadOnlyList<string>

Gets the normalized authoring styles that the policy explicitly disallows.

public IReadOnlyList<string> DisallowedAuthoringStyles { get; }

IReadOnlyList<string>

Gets the grouped host-governance override-rule outcomes summarized by rule.

public IReadOnlyList<RestEndpointGovernanceOverrideSummaryDescriptor> GovernanceOverrideSummaries { get; }

IReadOnlyList<RestEndpointGovernanceOverrideSummaryDescriptor>

Gets the ordered candidate identifiers that survived authoring policy but were later suppressed by host governance.

public IReadOnlyList<string> GovernanceSuppressedCandidateIds { get; }

IReadOnlyList<string>

Gets the grouped host-governance suppression-rule outcomes summarized by rule.

public IReadOnlyList<RestEndpointGovernanceSuppressionSummaryDescriptor> GovernanceSuppressionSummaries { get; }

IReadOnlyList<RestEndpointGovernanceSuppressionSummaryDescriptor>

Gets the ordered candidate identifiers whose original projections allowed host governance to participate.

public IReadOnlyList<string> HostGovernanceEligibleCandidateIds { get; }

IReadOnlyList<string>

Gets the ordered candidate identifiers whose original projections kept host governance out of scope.

public IReadOnlyList<string> HostGovernanceIneligibleCandidateIds { get; }

IReadOnlyList<string>

Gets a value indicating whether this authoring policy came from explicit host configuration.

public bool IsConfigured { get; }

bool

Gets the ordered candidate identifiers that survived authoring policy but were later suppressed by precedence.

public IReadOnlyList<string> PrecedenceSuppressedCandidateIds { get; }

IReadOnlyList<string>

Gets the normalized preferred authoring style when the policy declares one.

public string? PreferredAuthoringStyle { get; }

string?

Gets the ordered candidate identifiers that remain published after all runtime publication steps.

public IReadOnlyList<string> PublishedCandidateIds { get; }

IReadOnlyList<string>

Gets the ordered candidate identifiers that survived authoring-policy enforcement.

public IReadOnlyList<string> RetainedCandidateIds { get; }

IReadOnlyList<string>

Gets the ordered override-rule identifiers that targeted host-governance-ineligible candidates in this behavior boundary.

public IReadOnlyList<string> SkippedOverrideIds { get; }

IReadOnlyList<string>

Gets the grouped host-governance-skipped override-rule outcomes summarized by rule.

public IReadOnlyList<RestEndpointGovernanceSkippedOverrideSummaryDescriptor> SkippedOverrideSummaries { get; }

IReadOnlyList<RestEndpointGovernanceSkippedOverrideSummaryDescriptor>

Gets the ordered suppression-rule identifiers that targeted host-governance-ineligible candidates in this behavior boundary.

public IReadOnlyList<string> SkippedSuppressionIds { get; }

IReadOnlyList<string>

Gets the grouped host-governance-skipped suppression-rule outcomes summarized by rule.

public IReadOnlyList<RestEndpointGovernanceSkippedSuppressionSummaryDescriptor> SkippedSuppressionSummaries { get; }

IReadOnlyList<RestEndpointGovernanceSkippedSuppressionSummaryDescriptor>

Gets the ordered candidate identifiers that were suppressed by behavior-level authoring-policy enforcement.

public IReadOnlyList<string> SuppressedCandidateIds { get; }

IReadOnlyList<string>

Gets the grouped authoring-policy suppression kinds visible in the runtime effect.

public IReadOnlyList<RestEndpointAuthoringPolicySuppressionKind> SuppressionKinds { get; }

IReadOnlyList<RestEndpointAuthoringPolicySuppressionKind>

Gets the grouped authoring-policy suppression outcomes summarized by suppression kind.

public IReadOnlyList<RestEndpointAuthoringPolicySuppressionSummaryDescriptor> SuppressionSummaries { get; }

IReadOnlyList<RestEndpointAuthoringPolicySuppressionSummaryDescriptor>