17 lines
542 B
C#
17 lines
542 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;
|
|
|
|
namespace Microsoft.AspNet.Mvc.ModelBinding
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
|
public sealed class BindNeverAttribute : BindingBehaviorAttribute
|
|
{
|
|
public BindNeverAttribute()
|
|
: base(BindingBehavior.Never)
|
|
{
|
|
}
|
|
}
|
|
}
|