Temporary change to prevent cross repo breaking change: Added ooverload for MatcherEndpoint
This commit is contained in:
parent
42708bec91
commit
bc79a47959
|
|
@ -16,6 +16,18 @@ namespace Microsoft.AspNetCore.Routing.Matchers
|
||||||
return (context) => Task.CompletedTask;
|
return (context) => Task.CompletedTask;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
public MatcherEndpoint(
|
||||||
|
Func<RequestDelegate, RequestDelegate> invoker,
|
||||||
|
string template,
|
||||||
|
RouteValueDictionary defaults,
|
||||||
|
RouteValueDictionary requiredValues,
|
||||||
|
int order,
|
||||||
|
EndpointMetadataCollection metadata,
|
||||||
|
string displayName)
|
||||||
|
: this(invoker, template, defaults, requiredValues, new List<MatchProcessorReference>(), order, metadata, displayName)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public MatcherEndpoint(
|
public MatcherEndpoint(
|
||||||
Func<RequestDelegate, RequestDelegate> invoker,
|
Func<RequestDelegate, RequestDelegate> invoker,
|
||||||
string template,
|
string template,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue