diff --git a/src/Http/Routing/src/Matching/MatcherPolicy.cs b/src/Http/Routing/src/Matching/MatcherPolicy.cs index f3fdc05fb1..c15085aaf0 100644 --- a/src/Http/Routing/src/Matching/MatcherPolicy.cs +++ b/src/Http/Routing/src/Matching/MatcherPolicy.cs @@ -34,6 +34,18 @@ namespace Microsoft.AspNetCore.Routing /// /// The set of endpoints. /// true if a dynamic endpoint is found; otherwise returns false. + /// + /// + /// The presence of signifies that an endpoint that may be replaced + /// during processing by an . + /// + /// + /// An implementation of should also implement + /// and use its implementation when a node contains a dynamic endpoint. + /// implementations rely on caching of data based on a static set of endpoints. This + /// is not possible when endpoints are replaced dynamically. + /// + /// protected static bool ContainsDynamicEndpoints(IReadOnlyList endpoints) { if (endpoints == null)