Method UseAutoScan
UseAutoScan<TModule>()
This method is an shortcut for calling AutoScanModules<TModule>().
public HttpServerHostContextBuilder UseAutoScan<TModule>() where TModule : RouterModule
Returns
Type Parameters
TModule
An class which implements RouterModule, or the router module itself.
UseAutoScan<TModule>(Assembly)
This method is an shortcut for calling AutoScanModules<TModule>().
public HttpServerHostContextBuilder UseAutoScan<TModule>(Assembly t) where TModule : RouterModule
Parameters
t
AssemblyThe assembly where the scanning types are.
Returns
Type Parameters
TModule
An class which implements RouterModule, or the router module itself.