删除不使用代码
This commit is contained in:
@@ -12,7 +12,7 @@ using dotnetCampus.Configurations.Core;
|
||||
|
||||
namespace dotnetCampus.ApplicationStartupManager
|
||||
{
|
||||
public class StartupManager : IStartupManager //, IStartupManagerLegacy
|
||||
public class StartupManager : IStartupManager
|
||||
{
|
||||
private readonly IMainThreadDispatcher _dispatcher;
|
||||
|
||||
@@ -246,13 +246,6 @@ namespace dotnetCampus.ApplicationStartupManager
|
||||
ThreadPool.SetMinThreads(Math.Max(_workerThreads, 8), Math.Max(_completionPortThreads, 8));
|
||||
}
|
||||
|
||||
// public void RunLegacy(StartupTask task)
|
||||
// {
|
||||
//#pragma warning disable CS4014 // 由于此调用不会等待,因此在调用完成前将继续执行当前方法
|
||||
// task.JoinAsync(null, true);
|
||||
//#pragma warning restore CS4014 // 由于此调用不会等待,因此在调用完成前将继续执行当前方法
|
||||
// }
|
||||
|
||||
private List<StartupTaskWrapper> BuildStartupGraph()
|
||||
{
|
||||
var wrappers = _criticalTasks.ToList();
|
||||
|
||||
Reference in New Issue
Block a user