Interface ICacheableAsyncResultFilter
A filter that asynchronously surrounds execution of action results successfully returned from an action.
Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
Assembly: Cuemon.AspNetCore.Mvc.dll
Syntax
public interface ICacheableAsyncResultFilter
Methods
| Improve this DocOnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)
Called asynchronously before the action result.
Declaration
Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext | context | The Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext. |
Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate | next | The Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate. Invoked to execute the next result filter or the result itself. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task that on completion indicates the filter has executed. |