The Autofac ContainerBuilder's RegisterFilterProvider method is used to register filters for dependency injection. This allows for filters to be automatically injected into controllers and corresponding actions without explicitly calling the filter.
Example:
builder.RegisterFilterProvider();
This code registers the filter provider in the Autofac builder.
Package Library: Autofac.
C# (CSharp) Autofac ContainerBuilder.RegisterFilterProvider - 34 examples found. These are the top rated real world C# (CSharp) examples of Autofac.ContainerBuilder.RegisterFilterProvider extracted from open source projects. You can rate examples to help us improve the quality of examples.