Table of Contents

Class StartupEavData

Namespace
ToSic.Eav.Run.Startup
Assembly
ToSic.Eav.Data.dll
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public static class StartupEavData
Inheritance
object
StartupEavData

Methods

AddEavData(IServiceCollection)

public static IServiceCollection AddEavData(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

AddEavDataFallbacks(IServiceCollection)

This will add Do-Nothing services which will take over if they are not provided by the main system In general this will result in some features missing, which many platforms don't need or care about

public static IServiceCollection AddEavDataFallbacks(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

Remarks

All calls in here MUST use TryAddTransient, and never without the Try

AddEavModels(IServiceCollection)

Registers the default system core wrapper services with the dependency injection container.

public static IServiceCollection AddEavModels(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection to which the wrapper services will be added. Cannot be null.

Returns

IServiceCollection

The same IServiceCollection instance, enabling method chaining.

Remarks

Call this method during application startup to ensure wrapper dependencies are available for injection.