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)
26Tokenizer = 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); 83Throw.IfNull(directory); 109Throw.IfNull(files);
Processors\ClassificationEnricher.cs (1)
35_options = Throw.IfNull(options).Clone();
Processors\EnricherOptions.cs (1)
21ChatClient = 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);