Created
March 23, 2018 11:47
-
-
Save Flayed/06730bdd10d57b3eb9437e3c5d0860ee to your computer and use it in GitHub Desktop.
IActionResult from ASP.NET core
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) .NET Foundation. All rights reserved. | |
| // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | |
| using System.Threading.Tasks; | |
| namespace Microsoft.AspNetCore.Mvc | |
| { | |
| /// <summary> | |
| /// Defines a contract that represents the result of an action method. | |
| /// </summary> | |
| public interface IActionResult | |
| { | |
| /// <summary> | |
| /// Executes the result operation of the action method asynchronously. This method is called by MVC to process | |
| /// the result of an action method. | |
| /// </summary> | |
| /// <param name="context">The context in which the result is executed. The context information includes | |
| /// information about the action that was executed and request information.</param> | |
| /// <returns>A task that represents the asynchronous execute operation.</returns> | |
| Task ExecuteResultAsync(ActionContext context); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment