IServiceDescriptorTypeSelector Interface
Definition
The Compiled Implementation Type Selector
public interface IServiceDescriptorTypeSelector : IServiceDescriptorAssemblySelectorMethods
AddClasses()
Adds all public, non-abstract classes from the selected assemblies to the IServiceCollection.
IServiceTypeSelector AddClasses()Returns
AddClasses(bool)
Adds all non-abstract classes from the selected assemblies to the IServiceCollection.
IServiceTypeSelector AddClasses(bool publicOnly)Parameters
publicOnly bool
Specifies whether too add public types only.
Returns
AddClasses(Action<ITypeFilter>)
Adds all public, non-abstract classes from the selected assemblies that matches the requirements specified in the action to the IServiceCollection.
IServiceTypeSelector AddClasses(Action<ITypeFilter> action)Parameters
action Action<ITypeFilter>
The filtering action.
Returns
Exceptions
ArgumentNullException
If the action argument is null.
AddClasses(Action<ITypeFilter>, bool)
Adds all non-abstract classes from the selected assemblies that matches the requirements specified in the action to the IServiceCollection.
IServiceTypeSelector AddClasses(Action<ITypeFilter> action, bool publicOnly)Parameters
action Action<ITypeFilter>
The filtering action.
publicOnly bool
Specifies whether too add public types only.
Returns
Exceptions
ArgumentNullException
If the action argument is null.

