Add EndpointSelectorCandidate ctor to not break MVC (#661)
This commit is contained in:
parent
fdff66054f
commit
1340f9c26b
|
|
@ -46,6 +46,14 @@ namespace Microsoft.AspNetCore.Routing.EndpointConstraints
|
||||||
Constraints = constraints;
|
Constraints = constraints;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Temporarily added to not break MVC build
|
||||||
|
public EndpointSelectorCandidate(
|
||||||
|
Endpoint endpoint,
|
||||||
|
IReadOnlyList<IEndpointConstraint> constraints)
|
||||||
|
{
|
||||||
|
throw new NotSupportedException();
|
||||||
|
}
|
||||||
|
|
||||||
public Endpoint Endpoint { get; }
|
public Endpoint Endpoint { get; }
|
||||||
|
|
||||||
public int Score { get; }
|
public int Score { get; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue