2 implementations of IFileDownloader
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
FileDownloader.cs (1)
12internal sealed class FileDownloader : IFileDownloader
Microsoft.VisualStudio.LanguageServices (1)
Storage\FileDownloader.cs (1)
12internal sealed class FileDownloader : IFileDownloader
15 references to IFileDownloader
Microsoft.CodeAnalysis.Features (3)
SymbolSearch\Windows\IFileDownloaderFactory.cs (1)
16IFileDownloader CreateClient(string hostId, string serverPath, int pollingMinutes);
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (2)
515using var client = _service._fileDownloaderFactory.CreateClient(HostId, serverPath, pollingMinutes); 539private async Task<(XElement element, TimeSpan delay)> TryDownloadFileAsync(IFileDownloader fileDownloader, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
FileDownloader.cs (1)
18public IFileDownloader CreateClient(string hostId, string serverPath, int pollingMinutes)
Microsoft.VisualStudio.LanguageServices (1)
Storage\FileDownloader.cs (1)
18public IFileDownloader CreateClient(string hostId, string serverPath, int pollingMinutes)
Microsoft.VisualStudio.LanguageServices.UnitTests (10)
SymbolSearch\SymbolSearchUpdateEngineTests.vb (10)
94Dim downloaderMock = New Mock(Of IFileDownloader)(MockBehavior.Strict) 173Dim downloaderMock = New Mock(Of IFileDownloader)(MockBehavior.Strict) 208Dim downloaderMock = New Mock(Of IFileDownloader)(MockBehavior.Strict) 616downloaderMock As Mock(Of IFileDownloader), 629Private Shared Sub SetupDownloadPatch(downloaderMock As Mock(Of IFileDownloader), remoteControlMock As Mock(Of IFileDownloaderFactory)) 635Private Shared Sub SetupDownloadLatest(remoteControlMock As Mock(Of IFileDownloaderFactory), downloaderMock As Mock(Of IFileDownloader)) 641Private Shared Function CreateFullDatabasedownloaderMock() As Mock(Of IFileDownloader) 645Private Shared Function CreateDownloaderMock(stream As Stream) As Mock(Of IFileDownloader) 646Dim downloaderMock = New Mock(Of IFileDownloader)(MockBehavior.Strict) 658Optional contents As String = Nothing) As Mock(Of IFileDownloader)