IOT Dash
Public Member Functions | List of all members
IotDash.Installers.IInstaller Interface Reference
Inheritance diagram for IotDash.Installers.IInstaller:
Inheritance graph
[legend]

Public Member Functions

void InstallServices (IServiceCollection services, IConfiguration configuration)
 

Detailed Description

Represents a contract for service installer. Assembly-wide scan for implementations of this interface is performed on Startup.ConfigureServices(IServiceCollection). The found implementations are instantiated and IInstaller.InstallServices(IServiceCollection, IConfiguration) is invoked on them. See Architecture in programmers manual.

Member Function Documentation

◆ InstallServices()

void IotDash.Installers.IInstaller.InstallServices ( IServiceCollection  services,
IConfiguration  configuration 
)

Configure and register services installed by this installer.

Parameters
servicesContainer into which services are installed.
configurationKey/value application configuration from appconfig.json.

Implemented in IotDash.Installers.AuthenticationInstaller, IotDash.Installers.AuthorizationInstaller, IotDash.Installers.DataInstaller, IotDash.Installers.MiscServiceInstaller, IotDash.Installers.MqttInstaller, and IotDash.Installers.MvcInstaller.


The documentation for this interface was generated from the following file: