18 lines
658 B
C#
18 lines
658 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 System;
|
|
using Microsoft.AspNet.Mvc.ModelBinding;
|
|
|
|
namespace Microsoft.AspNet.Mvc
|
|
{
|
|
/// <summary>
|
|
/// This attribute is used on action parameters to indicate that
|
|
/// they will be bound using query data of the incoming request.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
|
public class FromQueryAttribute : Attribute, IQueryValueProviderMetadata
|
|
{
|
|
}
|
|
}
|