コード例 #1
0
 /// <summary>
 /// manually add the first task to the queue
 /// </summary>
 /// <param name="startLocation"></param>
 public void SeedWorkQueue(IAssetPointer startLocation)
 {
     Task<string> hypertextTask = GetText(startLocation.Uri);
     WorkQueues.DownloadHyperTextQueue.Enqueue(hypertextTask);
 }
コード例 #2
0
        /// <summary>
        /// manually add the first task to the queue
        /// </summary>
        /// <param name="startLocation"></param>
        public void SeedWorkQueue(IAssetPointer startLocation)
        {
            Task <string> hypertextTask = GetText(startLocation.Uri);

            WorkQueues.DownloadHyperTextQueue.Enqueue(hypertextTask);
        }