// 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;
namespace Microsoft.AspNet.Mvc
{
///
/// A factory for .
///
///
/// will be invoked by
/// to create constraint instances for an action.
///
/// Place an attribute implementing this interface on a controller or action to insert an action
/// constraint created by a factory.
///
public interface IActionConstraintFactory : IActionConstraintMetadata
{
///
/// Creates a new .
///
/// The per-request services.
/// An .
IActionConstraint CreateInstance(IServiceProvider services);
}
}