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

Interface IRestEndpointCandidateRuntimeRegistry

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

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

Collects REST endpoint candidates while the active host resolves publication precedence.

public interface IRestEndpointCandidateRuntimeRegistry

Host adapters and transport helpers use this registry to publish candidate visibility into . Consumer code should normally read the catalog instead of mutating the registry directly.

Clears any previously registered runtime candidates before a host rematerializes its REST surface.

void Clear()

Register(RestEndpointCandidateRuntimeDescriptor)

Section titled “ Register(RestEndpointCandidateRuntimeDescriptor)”

Registers one REST endpoint candidate with the runtime catalog.

void Register(RestEndpointCandidateRuntimeDescriptor candidate)

candidate RestEndpointCandidateRuntimeDescriptor

The candidate descriptor to register.