20 lines
829 B
C#
20 lines
829 B
C#
// 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 Microsoft.Framework.Internal;
|
|
|
|
namespace Microsoft.AspNet.Routing
|
|
{
|
|
/// <summary>
|
|
/// Defines an abstraction for resolving inline constraints as instances of <see cref="IRouteConstraint"/>.
|
|
/// </summary>
|
|
public interface IInlineConstraintResolver
|
|
{
|
|
/// <summary>
|
|
/// Resolves the inline constraint.
|
|
/// </summary>
|
|
/// <param name="inlineConstraint">The inline constraint to resolve.</param>
|
|
/// <returns>The <see cref="IRouteConstraint"/> the inline constraint was resolved to.</returns>
|
|
IRouteConstraint ResolveConstraint([NotNull] string inlineConstraint);
|
|
}
|
|
} |