TackleMcClean 🏅
07/05/2024, 12:57 PMskttl
07/08/2024, 7:31 AMSebastiaan
07/08/2024, 8:03 AMNikcio
08/29/2024, 10:15 AMIRuntimeState
service from DI. For example from app.Services.GetRequiredService<MyService>()
Then you can check the IRuntimeState.Level
to get the current runtime level. For example this could be RuntimeLevel.Run
which refers to when Umbraco is fully running.