9 references to Throw
Microsoft.Extensions.DataIngestion.Abstractions (9)
IngestionChunk.cs (3)
36
Content = (T)(object)
Throw
.IfNullOrEmpty((string)(object)content!);
40
Content =
Throw
.IfNull(content);
43
Document =
Throw
.IfNull(document);
IngestionDocument.cs (1)
22
Identifier =
Throw
.IfNullOrEmpty(identifier);
IngestionDocumentElement.cs (2)
138
field =
Throw
.IfOutOfRange(value.Value, min: 1, max: 10, nameof(value));
179
Cells =
Throw
.IfNull(cells);
IngestionDocumentReader.cs (3)
26
string identifier =
Throw
.IfNull(source).FullName; // entire path is more unique than just part of it.
41
_ =
Throw
.IfNull(source);
42
_ =
Throw
.IfNullOrEmpty(identifier);