So I don't have a snippet I can share easily with my working Unity setup. But what part it "not working" for you? Are you able to successfully use Unity in other ways within your applications? Or is it specifically an issue with Hangfire?
The basics are:
1) configure your Container. (
2) tell hangfire to use the container:
3) then enqueue your jobs