// 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 Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc { /// /// A candidate action for action selection. /// public class ActionSelectorCandidate { /// /// Creates a new . /// /// The representing a candidate for selection. /// /// The list of instances associated with . /// public ActionSelectorCandidate([NotNull] ActionDescriptor action, IReadOnlyList constraints) { Action = action; Constraints = constraints; } /// /// The representing a candiate for selection. /// public ActionDescriptor Action { get; private set; } /// /// The list of instances associated with . /// public IReadOnlyList Constraints { get; private set; } } }