Table of Contents

Method UseAutoScan

Namespace
Sisk.Core.Http.Hosting
Assembly
Sisk.Core.dll

UseAutoScan<TModule>()

This method is an shortcut for calling AutoScanModules<TModule>().

public HttpServerHostContextBuilder UseAutoScan<TModule>() where TModule : RouterModule

Returns

HttpServerHostContextBuilder

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 Assembly

The assembly where the scanning types are.

Returns

HttpServerHostContextBuilder

Type Parameters

TModule

An class which implements RouterModule, or the router module itself.