Table of Contents

Class StartupDI

Namespace
ToSic.Sys.Startup
Assembly
ToSic.Sys.Core.dll

Startup for Dependency Injection.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public static class StartupDI
Inheritance
object
StartupDI

Methods

AddSysDi(IServiceCollection)

Add core Dependency Injection prats, such as Lazy, Generator, etc.

public static IServiceCollection AddSysDi(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

AddSysDiServiceSwitchers(IServiceCollection)

Add Service Switchers

public static IServiceCollection AddSysDiServiceSwitchers(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection