ComponentFilterCollectionTFilterAddTAddFilter Method |
Adds the component filter Type given by TAddFilter to internal register.
Namespace: Kentico.Content.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax public void Add<TAddFilter>()
where TAddFilter : IComponentFilter
Type Parameters
- TAddFilter
- Type of the filter being added.
Remarks
The filter is initialized dynamically when page or form builder gets loaded while using DI container to resolve filter's constructor dependencies.
See Also