Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 public Impl(GlTaskQueue taskQueue)
 {
     this.taskQueue = taskQueue;
     this.wrappedTask = null;
 }