Table of Contents

ConfigurableActionFilter<TOptions> Class

Definition

A base class implementation of a filter that surrounds execution of the action.

public abstract class ConfigurableActionFilter<TOptions> : Configurable<TOptions>, IConfigurable<TOptions>, IActionFilter, IFilterMetadata where TOptions : class, IParameterObject, new()

Type Parameters

TOptions

The type of the configured options.

Inheritance
Configurable<TOptions>
ConfigurableActionFilter<TOptions>
Implements
IConfigurable<TOptions>
Derived
Inherited Members

Constructors

Name Description
ConfigurableActionFilter(IOptions<TOptions>)

Initializes a new instance of the ConfigurableAsyncResultFilter<TOptions> class.

ConfigurableActionFilter(Action<TOptions>)

Initializes a new instance of the ConfigurableAsyncResultFilter<TOptions> class.

Methods

Name Description
OnActionExecuted(ActionExecutedContext)

Called after the action executes, before the action result.

OnActionExecuting(ActionExecutingContext)

Called before the action executes, after model binding is complete.

See Also