Class RedirectToContentResultExecutor
A Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<> for Redirect
Inheritance
System.Object
RedirectToContentResultExecutor
Implements
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor <RedirectToContentResult >
Namespace: EPiServer.Web.Mvc.Internal
Assembly: EPiServer.Cms.AspNetCore.Mvc.dll
Version: 12.0.3Syntax
public class RedirectToContentResultExecutor : Object, IActionResultExecutor<RedirectToContentResult>
Constructors
RedirectToContentResultExecutor(UrlResolver, IActionResultExecutor<RedirectResult>)
Initializes a new instance of Redirect
Declaration
public RedirectToContentResultExecutor(UrlResolver urlResolver, IActionResultExecutor<RedirectResult> actionResultExecutor)
Parameters
Type | Name | Description |
---|---|---|
Url |
urlResolver | The url resolver |
Microsoft. |
actionResultExecutor | Action result executor for redirect result |
Methods
ExecuteAsync(ActionContext, RedirectToContentResult)
Declaration
public Task ExecuteAsync(ActionContext context, RedirectToContentResult result)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
context | |
Redirect |
result |
Returns
Type | Description |
---|---|
System. |
Implements
Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<>