Table of Contents

Class BootProcessBase

Namespace
ToSic.Sys.Boot
Assembly
ToSic.Sys.Core.dll

Boot process base class, mainly to save a bit of code to create more bootloaders.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public abstract class BootProcessBase : ServiceBase, IBootProcess, IHasLog
Inheritance
object
BootProcessBase
Implements
Derived
Inherited Members

Constructors

BootProcessBase(string, object[]?, BootPhase, int)

Boot process base class, mainly to save a bit of code to create more bootloaders.

protected BootProcessBase(string logName, object[]? connect = null, BootPhase bootPhase = BootPhase.Registrations, int priority = 999)

Parameters

logName string

Name to use in the logging.

connect object[]

Objects to connect to the service.

bootPhase BootPhase

The phase during which to run this boot process.

priority int

The priority within the phase. Lower numbers run first. Default is usually 999.

Properties

NameId

Primary identifier of an object which has this property. It will be unique and used as an ID where needed.

public string NameId { get; }

Property Value

string

Phase

The phase during which to run this.

public BootPhase Phase { get; }

Property Value

BootPhase

Priority

The priority within the phase. Lower numbers run first. Default is usually 999.

public int Priority { get; }

Property Value

int

Methods

Run()

Register Dnn features before loading

public abstract void Run()