Class StranglerFigRouteResolution
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Patterns
Assembly: Cephalon.Abstractions.dll
Describes the strangler-fig routing decision made for one request.
public sealed record StranglerFigRouteResolution : IEquatable<StranglerFigRouteResolution>Inheritance
Section titled “Inheritance”object ← StranglerFigRouteResolution
Implements
Section titled “Implements”IEquatable<StranglerFigRouteResolution>
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”StranglerFigRouteResolution(string, string, string, string, string, string, StranglerFigTarget, string, string?, string?, string, IReadOnlyDictionary<string, string>)
Section titled “ StranglerFigRouteResolution(string, string, string, string, string, string, StranglerFigTarget, string, string?, string?, string, IReadOnlyDictionary<string, string>)”Describes the strangler-fig routing decision made for one request.
public StranglerFigRouteResolution(string RouteId, string RouteDisplayName, string SourceModuleId, string RequestedPath, string RequestedMethod, string MatchedPathPrefix, StranglerFigTarget SelectedTarget, string SelectedEndpoint, string? LegacyEndpoint, string? ModernEndpoint, string ResolutionMode, IReadOnlyDictionary<string, string> Metadata)Parameters
Section titled “Parameters”RouteId string
The matched route identifier.
RouteDisplayName string
The operator-facing route name.
SourceModuleId string
The Cephalon module that owns the modern boundary.
RequestedPath string
The normalized request path that was evaluated.
RequestedMethod string
The normalized request method that was evaluated.
MatchedPathPrefix string
The normalized route prefix that matched the request.
SelectedTarget StranglerFigTarget
The migration boundary chosen for the request.
SelectedEndpoint string
The concrete endpoint or boundary identifier that should receive the request.
LegacyEndpoint string?
The configured legacy endpoint when one exists.
ModernEndpoint string?
The configured modern endpoint when one exists.
ResolutionMode string
The reason the boundary was chosen, such as preferred-target or fallback-target.
Metadata IReadOnlyDictionary<string, string>
Additional route metadata that traveled with the decision.
Properties
Section titled “Properties”LegacyEndpoint
Section titled “ LegacyEndpoint”The configured legacy endpoint when one exists.
public string? LegacyEndpoint { get; init; }Property Value
Section titled “Property Value”MatchedPathPrefix
Section titled “ MatchedPathPrefix”The normalized route prefix that matched the request.
public string MatchedPathPrefix { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Additional route metadata that traveled with the decision.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
ModernEndpoint
Section titled “ ModernEndpoint”The configured modern endpoint when one exists.
public string? ModernEndpoint { get; init; }Property Value
Section titled “Property Value”RequestedMethod
Section titled “ RequestedMethod”The normalized request method that was evaluated.
public string RequestedMethod { get; init; }Property Value
Section titled “Property Value”RequestedPath
Section titled “ RequestedPath”The normalized request path that was evaluated.
public string RequestedPath { get; init; }Property Value
Section titled “Property Value”ResolutionMode
Section titled “ ResolutionMode”The reason the boundary was chosen, such as preferred-target or fallback-target.
public string ResolutionMode { get; init; }Property Value
Section titled “Property Value”RouteDisplayName
Section titled “ RouteDisplayName”The operator-facing route name.
public string RouteDisplayName { get; init; }Property Value
Section titled “Property Value”RouteId
Section titled “ RouteId”The matched route identifier.
public string RouteId { get; init; }Property Value
Section titled “Property Value”SelectedEndpoint
Section titled “ SelectedEndpoint”The concrete endpoint or boundary identifier that should receive the request.
public string SelectedEndpoint { get; init; }Property Value
Section titled “Property Value”SelectedTarget
Section titled “ SelectedTarget”The migration boundary chosen for the request.
public StranglerFigTarget SelectedTarget { get; init; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”The Cephalon module that owns the modern boundary.
public string SourceModuleId { get; init; }