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

Class BackendForFrontendRestEndpointRuntimeDescriptor

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

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

Describes one backend-for-frontend client binding matched to one published REST endpoint.

public sealed class BackendForFrontendRestEndpointRuntimeDescriptor

objectBackendForFrontendRestEndpointRuntimeDescriptor

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

This runtime surface keeps the host-agnostic backend-for-frontend binding contract separate from the host-owned REST runtime catalog while still letting operator tooling answer which published REST endpoints are currently visible to a specific client binding.

BackendForFrontendRestEndpointRuntimeDescriptor(string, BackendForFrontendClientBindingDescriptor, RestEndpointRuntimeDescriptor, bool, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?)

Section titled “ BackendForFrontendRestEndpointRuntimeDescriptor(string, BackendForFrontendClientBindingDescriptor, RestEndpointRuntimeDescriptor, bool, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?)”

Creates a backend-for-frontend REST endpoint runtime descriptor.

public BackendForFrontendRestEndpointRuntimeDescriptor(string id, BackendForFrontendClientBindingDescriptor binding, RestEndpointRuntimeDescriptor endpoint, bool matchedByDefault = false, IReadOnlyList<string>? matchedBehaviorIds = null, IReadOnlyList<string>? matchedCapabilityKeys = null, IReadOnlyList<string>? matchedTags = null)

id string

The stable binding-plus-endpoint identifier.

binding BackendForFrontendClientBindingDescriptor

The backend-for-frontend client binding that selected the endpoint.

endpoint RestEndpointRuntimeDescriptor

The published REST endpoint selected for that binding.

matchedByDefault bool

true when the endpoint stayed visible because the binding declared no positive include filters and the endpoint was not excluded.

matchedBehaviorIds IReadOnlyList<string>?

The included behavior identifiers that matched the published endpoint when explicit behavior-id filters were part of the binding.

matchedCapabilityKeys IReadOnlyList<string>?

The included required-capability keys that matched the published endpoint when explicit capability filters were part of the binding.

matchedTags IReadOnlyList<string>?

The included tags that matched the published endpoint when explicit tag filters were part of the binding.

Gets the backend-for-frontend client binding that selected the endpoint.

public BackendForFrontendClientBindingDescriptor Binding { get; }

BackendForFrontendClientBindingDescriptor

Gets the stable backend-for-frontend binding identifier.

public string BindingId { get; }

string

Gets the stable client identifier.

public string ClientId { get; }

string

Gets the published REST endpoint selected for that binding.

public RestEndpointRuntimeDescriptor Endpoint { get; }

RestEndpointRuntimeDescriptor

Gets the stable binding-plus-endpoint identifier.

public string Id { get; }

string

Gets the included behavior identifiers that matched the published endpoint.

public IReadOnlyList<string> MatchedBehaviorIds { get; }

IReadOnlyList<string>

Gets a value indicating whether the endpoint stayed visible because the binding declared no positive include filters and the endpoint was not excluded.

public bool MatchedByDefault { get; }

bool

Gets the included required-capability keys that matched the published endpoint.

public IReadOnlyList<string> MatchedCapabilityKeys { get; }

IReadOnlyList<string>

Gets the included tags that matched the published endpoint.

public IReadOnlyList<string> MatchedTags { get; }

IReadOnlyList<string>

Gets the stable published REST endpoint identifier.

public string RestEndpointId { get; }

string

Gets the binding-owner module identifier.

public string SourceModuleId { get; }

string