public void QueueTask(BackgroundTask task)
 {
     Initialize();
     _taskQueue.Enqueue(task);
 }
 public void Enqueue(BackgroundTask task)
 {
     _taskQueue.Enqueue(task);
 }
 private void ExecuteTask(BackgroundTask task)
 {
     // ripe for more logic here, but this is a toolkit...
     // ideally we would probably be supplying open db connections
     // or db contexts and letting the task use those...
     task.Run();
 }