Class BootProcessBase
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
-
objectBootProcessBase
- 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
logNamestringName to use in the logging.
connectobject[]Objects to connect to the service.
bootPhaseBootPhaseThe phase during which to run this boot process.
priorityintThe 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
Phase
The phase during which to run this.
public BootPhase Phase { get; }
Property Value
Priority
The priority within the phase. Lower numbers run first. Default is usually 999.
public int Priority { get; }
Property Value
Methods
Run()
Register Dnn features before loading
public abstract void Run()