Table of Contents

Class StartupSxcCore

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

Methods

AddSxcCore(IServiceCollection)

public static IServiceCollection AddSxcCore(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IServiceCollection

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

Parameters

services IServiceCollection

Returns

IServiceCollection

Remarks

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