Table of Contents

Class OverrideActionFiltersAttribute

Namespace
System.Web.Http
Assembly
System.Web.Http.dll

Represents a filter attribute that overrides action filters defined at a higher level.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
public sealed class OverrideActionFiltersAttribute : Attribute, IOverrideFilter, IFilter
Inheritance
OverrideActionFiltersAttribute
Implements
Inherited Members

Constructors

OverrideActionFiltersAttribute()

Initializes a new instance of the OverrideActionFiltersAttribute class.

public OverrideActionFiltersAttribute()

Properties

AllowMultiple

Gets a value indicating whether the action filter allows multiple attribute.

public bool AllowMultiple { get; }

Property Value

bool

true if the action filter allows multiple attribute; otherwise, false.

FiltersToOverride

Gets the type of filters to override.

public Type FiltersToOverride { get; }

Property Value

Type

The type of filters to override.