Ejemplo n.º 1
0
        public static TaskInformation Create(CancellationTokenSource token, String name, String description)
        {
            TaskInformation job = new TaskInformation(token, name, description);

            JobInfo.AddJob(job);
            return(job);
        }
Ejemplo n.º 2
0
        public static WorkerThreadInfo Create(WorkerThread worker, String name, String description)
        {
            WorkerThreadInfo job = new WorkerThreadInfo(name, description);

            job.m_Worker = worker;
            JobInfo.AddJob(job);
            return(job);
        }