20 references to IfNull
Microsoft.Extensions.DataIngestion (20)
Chunkers\ElementsChunker.cs (1)
22
_ = Throw.
IfNull
(options);
Chunkers\HeaderChunker.cs (1)
35
_ = Throw.
IfNull
(document);
Chunkers\IngestionChunkerOptions.cs (1)
26
Tokenizer = Throw.
IfNull
(tokenizer);
Chunkers\SectionChunker.cs (1)
31
_ = Throw.
IfNull
(document);
Chunkers\SemanticSimilarityChunker.cs (1)
50
_ = Throw.
IfNull
(document);
IngestionPipeline.cs (5)
48
_reader = Throw.
IfNull
(reader);
49
_chunker = Throw.
IfNull
(chunker);
50
_writer = Throw.
IfNull
(writer);
83
Throw.
IfNull
(directory);
109
Throw.
IfNull
(files);
Processors\ClassificationEnricher.cs (1)
35
_options = Throw.
IfNull
(options).Clone();
Processors\EnricherOptions.cs (1)
21
ChatClient = Throw.
IfNull
(chatClient);
Processors\ImageAlternativeTextEnricher.cs (2)
30
_options = Throw.
IfNull
(options).Clone();
38
_ = Throw.
IfNull
(document);
Processors\KeywordEnricher.cs (1)
41
_options = Throw.
IfNull
(options).Clone();
Processors\SentimentEnricher.cs (1)
32
_options = Throw.
IfNull
(options).Clone();
Processors\SummaryEnricher.cs (1)
32
_options = Throw.
IfNull
(options).Clone();
Utils\Batching.cs (1)
26
_ = Throw.
IfNull
(chunks);
Writers\VectorStoreWriter.cs (2)
42
_vectorStore = Throw.
IfNull
(vectorStore);
61
_ = Throw.
IfNull
(chunks);