ServiceFilterAttribute<TFilter> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A filter that finds another filter in an IServiceProvider.
public class ServiceFilterAttribute<TFilter> : Microsoft.AspNetCore.Mvc.ServiceFilterAttribute where TFilter : IFilterMetadata
type ServiceFilterAttribute<'Filter (requires 'Filter :> IFilterMetadata)> = class
inherit ServiceFilterAttribute
Public Class ServiceFilterAttribute(Of TFilter)
Inherits ServiceFilterAttribute
Type Parameters
- TFilter
The Type of filter to find.
- Inheritance
Constructors
ServiceFilterAttribute<TFilter>() |
Instantiates a new ServiceFilterAttribute instance. |
Properties
IsReusable |
Gets a value that indicates if the result of CreateInstance(IServiceProvider) can be reused across requests. (Inherited from ServiceFilterAttribute) |
Order |
Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property. (Inherited from ServiceFilterAttribute) |
ServiceType |
Gets the Type of filter to find. (Inherited from ServiceFilterAttribute) |
Methods
CreateInstance(IServiceProvider) |
Creates an instance of the executable filter. (Inherited from ServiceFilterAttribute) |