3 references to LoggingHostedFileClient
Microsoft.Extensions.AI (1)
Files\LoggingHostedFileClientBuilderExtensions.cs (1)
52
var fileClient = new
LoggingHostedFileClient
(innerClient, loggerFactory.CreateLogger(typeof(LoggingHostedFileClient)));
Microsoft.Extensions.AI.Tests (2)
Files\LoggingHostedFileClientTests.cs (2)
23
Assert.Throws<ArgumentNullException>("innerClient", () => new
LoggingHostedFileClient
(null!, NullLogger.Instance));
24
Assert.Throws<ArgumentNullException>("logger", () => new
LoggingHostedFileClient
(new TestHostedFileClient(), null!));