From bc79a4795950607423a40e5513b45edd2187272b Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Fri, 13 Jul 2018 14:24:11 -0700 Subject: [PATCH] Temporary change to prevent cross repo breaking change: Added ooverload for MatcherEndpoint --- .../Matchers/MatcherEndpoint.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Microsoft.AspNetCore.Routing/Matchers/MatcherEndpoint.cs b/src/Microsoft.AspNetCore.Routing/Matchers/MatcherEndpoint.cs index 4d7fa50e0e..591c98bac4 100644 --- a/src/Microsoft.AspNetCore.Routing/Matchers/MatcherEndpoint.cs +++ b/src/Microsoft.AspNetCore.Routing/Matchers/MatcherEndpoint.cs @@ -16,6 +16,18 @@ namespace Microsoft.AspNetCore.Routing.Matchers return (context) => Task.CompletedTask; }; + public MatcherEndpoint( + Func invoker, + string template, + RouteValueDictionary defaults, + RouteValueDictionary requiredValues, + int order, + EndpointMetadataCollection metadata, + string displayName) + : this(invoker, template, defaults, requiredValues, new List(), order, metadata, displayName) + { + } + public MatcherEndpoint( Func invoker, string template,