Table of Contents

Class StartupSxcAdam

Namespace
ToSic.Sxc.Run.Startup
Assembly
ToSic.Sxc.Adam.dll
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public static class StartupSxcAdam
Inheritance
object
StartupSxcAdam

Methods

AddSxcAdam(IServiceCollection)

public static IServiceCollection AddSxcAdam(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

AddSxcAdamFallbacks(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 AddSxcAdamFallbacks(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

Remarks

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

AddSxcAdamWork<TFolder, TFile>(IServiceCollection)

public static IServiceCollection AddSxcAdamWork<TFolder, TFile>(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

Type Parameters

TFolder
TFile