| Ylbtech-.netframework-web.mvc:httpdeleteattribute |
| 1. Assembly SYSTEM.WEB.MVC, version=5.2.3.0, culture=neutral, publickeytoken=31bf3856ad364e35 back to top |
1.
#regionAssembly SYSTEM.WEB.MVC, version=5.2.3.0, Culture=neutral, publickeytoken=31bf3856ad364e35//E:\lab6\JFB_SCWeb\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll#endregionusingSystem.Reflection;namespacesystem.web.mvc{// //Summary://represents an attribute that is used to restrict the action method so that the method processes only the HTTP DELETE request. [AttributeUsage (AttributeTargets.Method, AllowMultiple =false, inherited =true)] Public Sealed classHttpdeleteattribute:actionmethodselectorattribute {// //Summary://Initializes a new instance of the System.Web.Mvc.HttpDeleteAttribute class. PublicHttpdeleteattribute (); // //Summary://determines whether the action method DELETE request is valid for the specified controller context. // //Parameters://ControllerContext://The controller context. // //MethodInfo://information about how to do this. // //return Result://true if the action method request is valid for the specified controller context; otherwise false. Public Override BOOLisvalidforrequest (ControllerContext controllercontext, MethodInfo MethodInfo); }}2.
|
Ylbtech Source: http://ylbtech.cnblogs.com/ This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility. |
. Netframework-web.mvc:httpdeleteattribute