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

Interface IRestEndpointOverrideRuntimeCatalog

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

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

Exposes the REST endpoint override rules visible to the current runtime.

public interface IRestEndpointOverrideRuntimeCatalog

This surface complements by publishing the configured host-level override rules that can rewrite descriptor-backed module-owned REST candidates that participate in host governance, including shorthand candidates and explicit module-DSL route groups that opted in, before precedence resolution selects the final public REST surface.

Gets all REST endpoint override rules visible to the current runtime.

IReadOnlyList<RestEndpointOverrideDescriptor> OverrideRules { get; }

IReadOnlyList<RestEndpointOverrideDescriptor>

Gets all REST endpoint override rules that target the requested behavior identifier, either directly or through configured behavior-id prefixes.

IReadOnlyList<RestEndpointOverrideDescriptor> GetByBehaviorId(string behaviorId)

behaviorId string

The stable behavior identifier to filter by.

IReadOnlyList<RestEndpointOverrideDescriptor>

The matching override descriptors, or an empty list when no rules exist.

Gets one REST endpoint override rule by its stable identifier.

RestEndpointOverrideDescriptor? GetById(string overrideId)

overrideId string

The override identifier to resolve.

RestEndpointOverrideDescriptor?

The matching override descriptor, or null when it is not present.

Gets all REST endpoint override rules that target the requested source module identifier.

IReadOnlyList<RestEndpointOverrideDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The stable source-module identifier to filter by.

IReadOnlyList<RestEndpointOverrideDescriptor>

The matching override descriptors, or an empty list when no rules exist.