C# Class Scrutor.ServiceCollectionExtensions

Datei anzeigen Open project: khellang/Scrutor

Public Methods

Method Description
Scan ( this services, Action action ) : IServiceCollection

Adds registrations to the services collection using conventions specified using the action.

Private Methods

Method Description
Populate ( this services, ISelector selector ) : IServiceCollection

Method Details

Scan() public static method

Adds registrations to the services collection using conventions specified using the action.
If either the /// or arguments are null.
public static Scan ( this services, Action action ) : IServiceCollection
services this The services to add to.
action Action The configuration action.
return IServiceCollection