Example #1
0
        private FileProgressControl FindProgressControl(MsDataFileUri filePath)
        {
            FileProgressControl fileProgressControl;

            _fileProgressControls.TryGetValue(filePath.GetLocation(), out fileProgressControl);
            return(fileProgressControl);
        }
Example #2
0
 public IProgressStatus GetStatus(MsDataFileUri filePath)
 {
     foreach (var loadingStatus in ProgressList)
     {
         if (loadingStatus.FilePath.GetLocation().Equals(filePath.GetLocation()))
         {
             return(loadingStatus);
         }
     }
     return(null);
 }