public UnconfiguredProjectTasksService([Import(ExportContractNames.Scopes.UnconfiguredProject)] IProjectAsynchronousTasksService tasksService, IProjectThreadingService threadingService, ILoadedInHostListener loadedInHostListener)
 {
     _prioritizedTaskQueue = new JoinableTaskQueue(threadingService.JoinableTaskContext);
     _tasksService         = tasksService;
     _threadingService     = threadingService;
     _loadedInHostListener = loadedInHostListener;
 }
 public UnconfiguredProjectTasksService([Import(ExportContractNames.Scopes.UnconfiguredProject)] IProjectAsynchronousTasksService tasksService, IProjectThreadingService threadingService, ILoadedInHostListener loadedInHostListener)
 {
     _prioritizedTasks             = threadingService.JoinableTaskContext.CreateCollection();
     _prioritizedTasks.DisplayName = "PrioritizedProjectLoadedInHostTasks";
     _tasksService         = tasksService;
     _threadingService     = threadingService;
     _loadedInHostListener = loadedInHostListener;
 }
        private static UnconfiguredProjectTasksService CreateInstance(IProjectAsynchronousTasksService tasksService = null, ILoadedInHostListener loadedInHostListener = null)
        {
            tasksService         = tasksService ?? IProjectAsynchronousTasksServiceFactory.Create();
            loadedInHostListener = loadedInHostListener ?? ILoadedInHostListenerFactory.Create();

            return(new UnconfiguredProjectTasksService(tasksService, IProjectThreadingServiceFactory.Create(), loadedInHostListener));
        }