Constructor injection of "HangfireContext"

Hi, I tried to replicate how httpContext is injectable in ASP.NET Core with Hangfire and this is what I came up with.
Does anyone know a better way to do it?