| File: Filters\IAlwaysRunResultFilter.cs | Web Access |
| Project: src\aspnetcore\src\Mvc\Mvc.Abstractions\src\Microsoft.AspNetCore.Mvc.Abstractions.csproj (Microsoft.AspNetCore.Mvc.Abstractions) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters; /// <summary> /// A filter that surrounds execution of all action results. /// </summary> /// <remarks> /// <para> /// The <see cref="IAlwaysRunResultFilter"/> interface declares an <see cref="IResultFilter"/> implementation /// that should run for all action results. <seealso cref="IAsyncAlwaysRunResultFilter"/>. /// </para> /// <para> /// <see cref="IResultFilter"/> and <see cref="IAsyncResultFilter"/> instances are not executed in cases where /// an authorization filter or resource filter short-circuits the request to prevent execution of the action. /// <see cref="IResultFilter"/> and <see cref="IAsyncResultFilter"/> implementations /// are also not executed in cases where an exception filter handles an exception by producing an action result. /// </para> /// </remarks> public interface IAlwaysRunResultFilter : IResultFilter { }