Table of Contents

Class StartupEav

Namespace
ToSic.Eav.Run.Startup
Assembly
ToSic.Eav.WebApi.dll

Combined Eav Dependency Injection Startup

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public static class StartupEav
Inheritance
object
StartupEav

Methods

AddEavAll(IServiceCollection, bool)

Use this to set up the new DI container

public static IServiceCollection AddEavAll(this IServiceCollection services, bool useMel = false)

Parameters

services IServiceCollection
useMel bool

Selects MEL logging with Insights instead of the default Legacy stack.

Returns

IServiceCollection

AddEavAllFallbacks(IServiceCollection)

Fallbacks for services which were not implemented - must come last

public static IServiceCollection AddEavAllFallbacks(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection