Files
linux-packaging-mono/mcs/class/System.Web.Mvc3/Mvc/NonActionAttribute.cs

11 lines
377 B
C#
Raw Normal View History

namespace System.Web.Mvc {
using System.Reflection;
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class NonActionAttribute : ActionMethodSelectorAttribute {
public override bool IsValidForRequest(ControllerContext controllerContext, MethodInfo methodInfo) {
return false;
}
}
}