提交 f049a579 编写于 作者: C CyrusNajmabadi

Make method private.

上级 10c26e2f
......@@ -20,7 +20,7 @@ public WorkspaceTaskQueue(WorkspaceTaskSchedulerFactory factory, TaskScheduler t
_queue = new SimpleTaskQueue(taskScheduler);
}
public T3 ScheduleTask<T1, T2, T3>(Func<T1, T2, T3> taskScheduler, string taskName, T1 arg1, T2 arg2) where T3 : Task
private T3 ScheduleTask<T1, T2, T3>(Func<T1, T2, T3> taskScheduler, string taskName, T1 arg1, T2 arg2) where T3 : Task
{
taskName = taskName ?? GetType().Name + ".Task";
var asyncToken = _factory.BeginAsyncOperation(taskName);
......@@ -52,4 +52,4 @@ public Task<T> ScheduleTask<T>(Func<Task<T>> taskFunc, string taskName, Cancella
}
}
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册