// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNet.Routing; namespace Microsoft.AspNet.Mvc { public interface IActionSelector { Task SelectAsync(RouteContext context); bool Match(ActionDescriptor descriptor, RouteContext context); bool HasValidAction(VirtualPathContext context); IEnumerable GetCandidateActions(VirtualPathContext context); } }