C#的ActionReulst抽象类
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
using System; namespace System.Web.Mvc { // Encapsulates the result of an action method and is used to perform a framework-level // operation on behalf of the action method. public abstract class ActionResult { protected ActionResult(); // 参数: // context: // The context in which the result is executed. The context information includes // the controller, HTTP content, request context, and route data. public abstract void ExecuteResult(ControllerContext context); } } |