CandidateSet(Endpoint[], RouteValueDictionary[], Int32[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instances of the CandidateSet class with the provided endpoints
,
values
, and scores
.
The constructor is provided to enable unit tests of implementations of EndpointSelector and IEndpointSelectorPolicy.
public:
CandidateSet(cli::array <Microsoft::AspNetCore::Http::Endpoint ^> ^ endpoints, cli::array <Microsoft::AspNetCore::Routing::RouteValueDictionary ^> ^ values, cli::array <int> ^ scores);
public CandidateSet (Microsoft.AspNetCore.Http.Endpoint[] endpoints, Microsoft.AspNetCore.Routing.RouteValueDictionary[] values, int[] scores);
new Microsoft.AspNetCore.Routing.Matching.CandidateSet : Microsoft.AspNetCore.Http.Endpoint[] * Microsoft.AspNetCore.Routing.RouteValueDictionary[] * int[] -> Microsoft.AspNetCore.Routing.Matching.CandidateSet
Public Sub New (endpoints As Endpoint(), values As RouteValueDictionary(), scores As Integer())
Parameters
- endpoints
- Endpoint[]
The list of endpoints, sorted in descending priority order.
- values
- RouteValueDictionary[]
The list of RouteValueDictionary instances.