1 write to AbsoluteFilePath
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
ResponseSendFileTests.cs (1)
30AbsoluteFilePath = Directory.GetFiles(Directory.GetCurrentDirectory()).First();
31 references to AbsoluteFilePath
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (31)
ResponseSendFileTests.cs (31)
31RelativeFilePath = Path.GetFileName(AbsoluteFilePath); 32FileLength = new FileInfo(AbsoluteFilePath).Length; 67return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None); 105return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None); 124sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None).Wait(); 125return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None); 144return sendFile.SendFileAsync(AbsoluteFilePath, 0, FileLength / 2, CancellationToken.None); 165sendFile.SendFileAsync(AbsoluteFilePath, 1234567, null, CancellationToken.None)); 184sendFile.SendFileAsync(AbsoluteFilePath, 0, 1234567, CancellationToken.None)); 201return sendFile.SendFileAsync(AbsoluteFilePath, 0, 0, CancellationToken.None); 221return sendFile.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None); 242return sendFile.SendFileAsync(AbsoluteFilePath, 0, 10, CancellationToken.None); 263return sendFile.SendFileAsync(AbsoluteFilePath, 0, 0, CancellationToken.None); 290return sendFile.SendFileAsync(AbsoluteFilePath, 0, 10, CancellationToken.None); 339await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 340await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 357await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 358await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 378var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 406var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 433await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 435var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 460await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 462var writeTask = httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 501await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 506httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token)); 548await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null); 588await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 599await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, cts.Token); 640await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null); 649await httpContext.Response.SendFileAsync(AbsoluteFilePath, 0, null, CancellationToken.None);