private FileProgressControl FindProgressControl(MsDataFileUri filePath) { FileProgressControl fileProgressControl; _fileProgressControls.TryGetValue(filePath.GetLocation(), out fileProgressControl); return(fileProgressControl); }
public IProgressStatus GetStatus(MsDataFileUri filePath) { foreach (var loadingStatus in ProgressList) { if (loadingStatus.FilePath.GetLocation().Equals(filePath.GetLocation())) { return(loadingStatus); } } return(null); }