Class BootWarmUpAssemblies
- Namespace
- ToSic.Sys.Utils.Assemblies
- Assembly
- ToSic.Sys.Utils.dll
Pre-Load the Assembly list into memory to log separately, and to ensure that the time needed is not mixed with other processes.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public sealed class BootWarmUpAssemblies : ServiceBase, IBootProcess, IHasLog
- Inheritance
-
objectBootWarmUpAssemblies
- Implements
Constructors
BootWarmUpAssemblies(ILogStore)
Pre-Load the Assembly list into memory to log separately, and to ensure that the time needed is not mixed with other processes.
public BootWarmUpAssemblies(ILogStore logStore)
Parameters
logStoreILogStore
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()
This will index the assemblies and put them in a list for future/faster lookup.
public void Run()