Beispiel #1
0
 public QueueItem(FileInfo file, QueueItemAction requestedAction, HashType type)
 {
     _File = file;
     _Type = type;
     _TestHash = String.Empty;
     _Action = requestedAction;
     _Results = QueueItemResult.NotTested; // this is wrong... do it different
 }
Beispiel #2
0
 public QueueItem(FileInfo file, string testHash, QueueItemAction requestedAction, HashType type)
 {
     _File = file;
     _Type = type;
     _TestHash = testHash;
     _Action = requestedAction;
     _Results = QueueItemResult.NotTested;
 }
Beispiel #3
0
 /// <summary>
 /// Sets the result status of the queue item.
 /// </summary>
 /// <param name="result">Result Status.</param>
 public void SetResultStatus(QueueItemResult result)
 {
     _Results = result;
 }