13 references to Throw
Microsoft.Extensions.DocumentExtraction (13)
DocumentExtractionClientBuilder.cs (4)
23
_ =
Throw
.IfNull(innerClient);
32
_innerClientFactory =
Throw
.IfNull(innerClientFactory);
42
_factories.Add(
Throw
.IfNull(factory));
52
_ =
Throw
.IfNull(factory);
DocumentExtractionClientBuilderServiceCollectionExtensions.cs (7)
30
_ =
Throw
.IfNull(services);
31
_ =
Throw
.IfNull(innerClient);
34
Throw
.ArgumentOutOfRangeException(nameof(lifetime), lifetime, "An existing client instance requires a singleton lifetime.");
49
_ =
Throw
.IfNull(services);
50
_ =
Throw
.IfNull(innerClientFactory);
70
_ =
Throw
.IfNull(services);
71
_ =
Throw
.IfNull(innerClientFactory);
LoggingDocumentExtractionClient.cs (1)
26
_logger =
Throw
.IfNull(logger);
LoggingDocumentExtractionClientBuilderExtensions.cs (1)
23
_ =
Throw
.IfNull(builder);