/// <summary> /// Create a new <c>SingletonGlTask</c> that confines tasks to the /// given queue. /// </summary> /// <param name="taskQueue">The queue to which tasks will be confined</param> public SingletonGlTask(GlTaskQueue taskQueue) { if (taskQueue == null) { throw new NullReferenceException("taskQueue"); } this.impl = new Impl(taskQueue); }
public Impl(GlTaskQueue taskQueue) { this.taskQueue = taskQueue; this.wrappedTask = null; }