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 RestEndpointSuppressionDescriptorInheritance
Section titled “Inheritance”object ← RestEndpointSuppressionDescriptor
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”ApiVersionMajors
Section titled “ ApiVersionMajors”Gets the effective API major versions targeted by this suppression rule.
public IReadOnlyList<int> ApiVersionMajors { get; }Property Value
Section titled “Property Value”AuthoringStyles
Section titled “ AuthoringStyles”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; }Property Value
Section titled “Property Value”BehaviorIdPrefixes
Section titled “ BehaviorIdPrefixes”Gets the behavior-id prefixes targeted by this suppression rule.
public IReadOnlyList<string> BehaviorIdPrefixes { get; }Property Value
Section titled “Property Value”BehaviorIds
Section titled “ BehaviorIds”Gets the behavior identifiers targeted by this suppression rule.
public IReadOnlyList<string> BehaviorIds { get; }Property Value
Section titled “Property Value”BindingFallbackModes
Section titled “ BindingFallbackModes”Gets the original candidate request-binding fallback modes targeted by this suppression rule.
public IReadOnlyList<RestEndpointBindingFallbackMode> BindingFallbackModes { get; }Property Value
Section titled “Property Value”IReadOnlyList<RestEndpointBindingFallbackMode>
CandidateIds
Section titled “ CandidateIds”Gets the original candidate identifiers targeted by this suppression rule.
public IReadOnlyList<string> CandidateIds { get; }Property Value
Section titled “Property Value”EndpointNames
Section titled “ EndpointNames”Gets the original candidate endpoint names targeted by this suppression rule.
public IReadOnlyList<string> EndpointNames { get; }Property Value
Section titled “Property Value”HostGovernanceScopes
Section titled “ HostGovernanceScopes”Gets the original candidate host-governance scopes targeted by this suppression rule.
public IReadOnlyList<string> HostGovernanceScopes { get; }Property Value
Section titled “Property Value”Gets the stable suppression identifier.
public string Id { get; }Property Value
Section titled “Property Value”MatchedCandidateIds
Section titled “ MatchedCandidateIds”Gets the runtime candidate identifiers that matched this suppression rule, including candidates where another suppression rule won selection.
public IReadOnlyList<string> MatchedCandidateIds { get; }Property Value
Section titled “Property Value”Methods
Section titled “ Methods”Gets the effective HTTP methods targeted by this suppression rule.
public IReadOnlyList<string> Methods { get; }Property Value
Section titled “Property Value”OpenApiDocumentNames
Section titled “ OpenApiDocumentNames”Gets the original candidate OpenAPI document names targeted by this suppression rule.
public IReadOnlyList<string> OpenApiDocumentNames { get; }Property Value
Section titled “Property Value”RelativePatterns
Section titled “ RelativePatterns”Gets the relative route patterns targeted by this suppression rule.
public IReadOnlyList<string> RelativePatterns { get; }Property Value
Section titled “Property Value”RouteGroupPrefixes
Section titled “ RouteGroupPrefixes”Gets the published route-group prefixes targeted by this suppression rule.
public IReadOnlyList<string> RouteGroupPrefixes { get; }Property Value
Section titled “Property Value”SelectionBases
Section titled “ SelectionBases”Gets the union of decisive specificity rules that selected this suppression rule for one or more runtime candidates.
public IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis> SelectionBases { get; }Property Value
Section titled “Property Value”IReadOnlyList<RestEndpointGovernanceRuleSelectionBasis>
SelectionBasisSummaries
Section titled “ SelectionBasisSummaries”Gets the grouped selection-basis buckets for runtime candidates that were actually suppressed by this rule.
public IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor> SelectionBasisSummaries { get; }Property Value
Section titled “Property Value”IReadOnlyList<RestEndpointGovernanceSelectionBasisSummaryDescriptor>
SkippedCandidateIds
Section titled “ SkippedCandidateIds”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; }Property Value
Section titled “Property Value”SourceModuleIds
Section titled “ SourceModuleIds”Gets the source-module identifiers targeted by this suppression rule.
public IReadOnlyList<string> SourceModuleIds { get; }Property Value
Section titled “Property Value”SuppressedCandidateIds
Section titled “ SuppressedCandidateIds”Gets the runtime candidate identifiers that were actually suppressed by this rule after governance selection completed.
public IReadOnlyList<string> SuppressedCandidateIds { get; }Property Value
Section titled “Property Value”TagNames
Section titled “ TagNames”Gets the original candidate primary OpenAPI tag names targeted by this suppression rule.
public IReadOnlyList<string> TagNames { get; }Property Value
Section titled “Property Value”TargetBindings
Section titled “ TargetBindings”Gets the original candidate explicit binding descriptors targeted by this suppression rule before any override actions are applied.
public IReadOnlyList<RestEndpointBindingDescriptor> TargetBindings { get; }