1 instantiation of NoRemoteCallHandler
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
NoRemoteCallHandler.cs (1)
32return new NoRemoteCallHandler(fileContent);
11 references to NoRemoteCallHandler
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (11)
HttpClientFactory.cs (8)
22.AddSingleton(_ => NoRemoteCallHandler.Create(fileName)) 31.AddHttpMessageHandler<NoRemoteCallHandler>() 46.AddSingleton(_ => NoRemoteCallHandler.Create(fileName)) 54.AddHttpMessageHandler<NoRemoteCallHandler>() 69.AddSingleton(_ => NoRemoteCallHandler.Create(fileName)) 81.AddHttpMessageHandler<NoRemoteCallHandler>() 163.AddSingleton(_ => NoRemoteCallHandler.Create(fileName)) 165.AddHttpMessageHandler<NoRemoteCallHandler>()
NoRemoteCallHandler.cs (2)
21public static NoRemoteCallHandler Create(string fileName) 23var assemblyFileLocation = Path.GetDirectoryName(typeof(NoRemoteCallHandler).Assembly.Location)!;
NoRemoteCallNotSeekableHandler.cs (1)
26var assemblyFileLocation = Path.GetDirectoryName(typeof(NoRemoteCallHandler).Assembly.Location)!;