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

Class RestEndpointSuppressionDescriptor

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

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

Describes one host-level REST endpoint suppression rule visible to the current runtime for module-owned REST candidates that participate in host governance.

public sealed class RestEndpointSuppressionDescriptor

objectRestEndpointSuppressionDescriptor

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

RestEndpointSuppressionDescriptor(string, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<int>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointBindingFallbackMode>?, IReadOnlyList<RestEndpointBindingDescriptor>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis>?, IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor>?, IReadOnlyList<string>?, IReadOnlyList<string>?)

Section titled “ RestEndpointSuppressionDescriptor(string, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<int>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointBindingFallbackMode>?, IReadOnlyList<RestEndpointBindingDescriptor>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis>?, IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor>?, IReadOnlyList<string>?, IReadOnlyList<string>?)”

Creates a REST endpoint suppression descriptor.

public RestEndpointSuppressionDescriptor(string id, IReadOnlyList<string>? candidateIds = null, IReadOnlyList<string>? behaviorIds = null, IReadOnlyList<string>? sourceModuleIds = null, IReadOnlyList<string>? authoringStyles = null, IReadOnlyList<int>? apiVersionMajors = null, IReadOnlyList<string>? methods = null, IReadOnlyList<string>? relativePatterns = null, IReadOnlyList<string>? routeGroupPrefixes = null, IReadOnlyList<string>? openApiDocumentNames = null, IReadOnlyList<string>? tagNames = null, IReadOnlyList<string>? endpointNames = null, IReadOnlyList<RestEndpointBindingFallbackMode>? bindingFallbackModes = null, IReadOnlyList<RestEndpointBindingDescriptor>? targetBindings = null, IReadOnlyList<string>? matchedCandidateIds = null, IReadOnlyList<string>? suppressedCandidateIds = null, IReadOnlyList<string>? skippedCandidateIds = null, IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis>? selectionBases = null, IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor>? selectionBasisSummaries = null, IReadOnlyList<string>? hostGovernanceScopes = null, IReadOnlyList<string>? behaviorIdPrefixes = null)

id string

The stable suppression identifier.

candidateIds IReadOnlyList<string>?

The original candidate identifiers targeted by the suppression rule.

behaviorIds IReadOnlyList<string>?

The behavior identifiers targeted by the suppression rule.

sourceModuleIds IReadOnlyList<string>?

The source-module identifiers targeted by the suppression rule.

authoringStyles IReadOnlyList<string>?

The normalized authoring styles targeted by the suppression rule. Explicit module-DSL routes participate only when their owning route group opted into host governance.

apiVersionMajors IReadOnlyList<int>?

The effective API major versions targeted by the suppression rule.

methods IReadOnlyList<string>?

The effective HTTP methods targeted by the suppression rule.

relativePatterns IReadOnlyList<string>?

The shorthand relative route patterns targeted by the suppression rule.

routeGroupPrefixes IReadOnlyList<string>?

The published route-group prefixes targeted by the suppression rule.

openApiDocumentNames IReadOnlyList<string>?

The original candidate OpenAPI document names targeted by the suppression rule.

tagNames IReadOnlyList<string>?

The original candidate primary OpenAPI tag names targeted by the suppression rule.

endpointNames IReadOnlyList<string>?

The original candidate endpoint names targeted by the suppression rule.

bindingFallbackModes IReadOnlyList<RestEndpointBindingFallbackMode>?

The original candidate request-binding fallback modes targeted by the suppression rule.

targetBindings IReadOnlyList<RestEndpointBindingDescriptor>?

The original candidate explicit binding descriptors targeted by the suppression rule before any override actions are applied.

matchedCandidateIds IReadOnlyList<string>?

The runtime candidate identifiers that matched this suppression rule, including candidates where another suppression rule won selection.

suppressedCandidateIds IReadOnlyList<string>?

The runtime candidate identifiers that were actually suppressed by this rule after governance selection completed.

skippedCandidateIds IReadOnlyList<string>?

The runtime candidate identifiers that this rule would otherwise target but skipped because the original projection did not allow host governance to participate.

selectionBases IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis>?

The union of decisive specificity rules that selected this suppression rule for one or more runtime candidates.

selectionBasisSummaries IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor>?

The grouped selection-basis buckets for runtime candidates that were actually suppressed by this rule.

hostGovernanceScopes IReadOnlyList<string>?

The original candidate host-governance scopes targeted by the suppression rule.

behaviorIdPrefixes IReadOnlyList<string>?

The behavior-id prefixes targeted by the suppression rule. Prefix matches use the stable dot-separated behavior-id hierarchy, so a prefix targets the exact behavior id and any descendant behavior ids beneath that prefix.

Gets the effective API major versions targeted by this suppression rule.

public IReadOnlyList<int> ApiVersionMajors { get; }

IReadOnlyList<int>

Gets the normalized authoring styles targeted by this suppression rule. Explicit module-DSL routes participate only when their owning route group opted into host governance.

public IReadOnlyList<string> AuthoringStyles { get; }

IReadOnlyList<string>

Gets the behavior-id prefixes targeted by this suppression rule.

public IReadOnlyList<string> BehaviorIdPrefixes { get; }

IReadOnlyList<string>

Gets the behavior identifiers targeted by this suppression rule.

public IReadOnlyList<string> BehaviorIds { get; }

IReadOnlyList<string>

Gets the original candidate request-binding fallback modes targeted by this suppression rule.

public IReadOnlyList<RestEndpointBindingFallbackMode> BindingFallbackModes { get; }

IReadOnlyList<RestEndpointBindingFallbackMode>

Gets the original candidate identifiers targeted by this suppression rule.

public IReadOnlyList<string> CandidateIds { get; }

IReadOnlyList<string>

Gets the original candidate endpoint names targeted by this suppression rule.

public IReadOnlyList<string> EndpointNames { get; }

IReadOnlyList<string>

Gets the original candidate host-governance scopes targeted by this suppression rule.

public IReadOnlyList<string> HostGovernanceScopes { get; }

IReadOnlyList<string>

Gets the stable suppression identifier.

public string Id { get; }

string

Gets the runtime candidate identifiers that matched this suppression rule, including candidates where another suppression rule won selection.

public IReadOnlyList<string> MatchedCandidateIds { get; }

IReadOnlyList<string>

Gets the effective HTTP methods targeted by this suppression rule.

public IReadOnlyList<string> Methods { get; }

IReadOnlyList<string>

Gets the original candidate OpenAPI document names targeted by this suppression rule.

public IReadOnlyList<string> OpenApiDocumentNames { get; }

IReadOnlyList<string>

Gets the relative route patterns targeted by this suppression rule.

public IReadOnlyList<string> RelativePatterns { get; }

IReadOnlyList<string>

Gets the published route-group prefixes targeted by this suppression rule.

public IReadOnlyList<string> RouteGroupPrefixes { get; }

IReadOnlyList<string>

Gets the union of decisive specificity rules that selected this suppression rule for one or more runtime candidates.

public IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis> SelectionBases { get; }

IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis>

Gets the grouped selection-basis buckets for runtime candidates that were actually suppressed by this rule.

public IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor> SelectionBasisSummaries { get; }

IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor>

Gets the runtime candidate identifiers that this rule would otherwise target but skipped because the original projection did not allow host governance to participate.

public IReadOnlyList<string> SkippedCandidateIds { get; }

IReadOnlyList<string>

Gets the source-module identifiers targeted by this suppression rule.

public IReadOnlyList<string> SourceModuleIds { get; }

IReadOnlyList<string>

Gets the runtime candidate identifiers that were actually suppressed by this rule after governance selection completed.

public IReadOnlyList<string> SuppressedCandidateIds { get; }

IReadOnlyList<string>

Gets the original candidate primary OpenAPI tag names targeted by this suppression rule.

public IReadOnlyList<string> TagNames { get; }

IReadOnlyList<string>

Gets the original candidate explicit binding descriptors targeted by this suppression rule before any override actions are applied.

public IReadOnlyList<RestEndpointBindingDescriptor> TargetBindings { get; }

IReadOnlyList<RestEndpointBindingDescriptor>