예제 #1
0
파일: QueueItem.cs 프로젝트: kswoll/queuete
 internal void AddDependency(QueueItem dependency)
 {
     processor.Dispatch(_ => dependencies = dependencies.Add(dependency));
 }
예제 #2
0
 /// <summary>
 /// Enqueues the specified dependent to only execute after the specified dependency has finished.  If this
 /// dependency has already finished, then it will simply be enqueued on the main processor.
 /// </summary>
 public QueueItem EnqueueDependent(QueueItem dependency, QueueItemType type, QueueAction action)
 {
     return(EnqueueDependent(new[] { dependency }, type, action));
 }
예제 #3
0
파일: QueueItem.cs 프로젝트: kswoll/queuete
 internal void EnqueueDependent(QueueItem dependent)
 {
     processor.Dispatch(_ => dependents = dependents.Enqueue(dependent));
 }
예제 #4
0
 /// <summary>
 /// Enqueues the specified dependent to only execute after the specified dependency has finished.  If this
 /// dependency has already finished, then it will simply be enqueued on the main processor.
 /// </summary>
 public void EnqueueDependent(QueueItem dependency, QueueItem dependent)
 {
     EnqueueDependent(new[] { dependency }, dependent);
 }