| Ylbtech-.netframework-web.mvc:contentresult |
| 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//c:\users\administrator\source\repos\WebApp7\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\ System.Web.Mvc.dll#endregionusingSystem.Text;namespacesystem.web.mvc{// //Summary://represents a user-defined content type, which is the result of an action method. Public classContentresult:actionresult {// //Summary://Initializes a new instance of the System.Web.Mvc.ContentResult class. PublicContentresult (); // //Summary://Gets or sets the content. // //return Result://content. Public stringContent {Get;Set; } // //Summary://Gets or sets the content encoding. // //return Result://content encoding. PublicEncoding ContentEncoding {Get;Set; } // //Summary://Gets or sets the type of the content. // //return Result://the type of content. Public stringContentType {Get;Set; } // //Summary://enables processing of the result of an action method by using a custom type that inherits from the System.Web.Mvc.ActionResult class. // //Parameters://Context://the context in which the result was executed. // //Exception://T:System.ArgumentNullException://the context parameter is null. Public Override voidExecuteresult (controllercontext context); }}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:contentresult