IActionSelectionDecisionTree Interface

Summary

A data structure that retrieves a list of [Microsoft.AspNet.Mvc.ActionDescriptor]() matches based on the values supplied for the current request by @!:Microsoft.AspNet.Routing.RouteData.Values-.

Syntax

public interface IActionSelectionDecisionTree

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.Routing.IActionSelectionDecisionTree

Properties

Version()

Gets the version. The same as the value of [Microsoft.AspNet.Mvc.ActionDescriptorsCollection.Version](Microsoft.AspNet.Mvc.ActionDescriptorsCollection.yml).

Return type:System.Int32
int Version { get; }

Methods

Select(System.Collections.Generic.IDictionary<System.String, System.Object>)

Retrieves a set of [Microsoft.AspNet.Mvc.ActionDescriptor]() based on the route values supplied by

<paramref name=”routeValues” />/

Arguments:
  • routeValues (System.Collections.Generic.IDictionary{System.String,System.Object}) – The route values for the current request.
Return type:

System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ActionDescriptor}

Returns:

A set of [Microsoft.AspNet.Mvc.ActionDescriptor]() matching the route values.

IReadOnlyList<ActionDescriptor> Select(IDictionary<string, object> routeValues)