Class ComponentFilterRegistrar<TFilter>
Registers component filters to its internal register.
public class ComponentFilterRegistrar<TFilter> where TFilter : IComponentFilter
Type Parameters
TFilter
Component filter base type.
- Inheritance
-
objectComponentFilterRegistrar<TFilter>
- Extension Methods
Methods
Add(TFilter)
Adds the component filter
instance to internal register.
public void Add(TFilter filter)
Parameters
filter
TFilterInstance of component filter.
Add<TAddFilter>()
Adds the component filter System.Type given by TAddFilter
to internal register.
public void Add<TAddFilter>() where TAddFilter : TFilter
Type Parameters
TAddFilter
Type of the filter being added.