20 references to Throw
Microsoft.Extensions.VectorData.Abstractions (20)
FilteredRecordRetrievalOptions.cs (3)
29
Throw
.ArgumentOutOfRangeException(nameof(value), "Skip must be greater than or equal to 0.");
71
Throw
.ArgumentNullException(nameof(propertySelector));
86
Throw
.ArgumentNullException(nameof(propertySelector));
HybridSearchOptions.cs (1)
52
Throw
.ArgumentOutOfRangeException(nameof(value), "Skip must be greater than or equal to 0.");
ProviderServices\CollectionModel.cs (2)
123
_ =
Throw
.IfNull(searchOptions);
190
_ =
Throw
.IfNull(expression);
ProviderServices\CollectionModelBuilder.cs (5)
87
_ =
Throw
.IfNull(recordType);
93
Throw
.ArgumentException(nameof(recordType), "Dynamic mapping with Dictionary<string, object?> requires calling BuildDynamic().");
157
_ =
Throw
.IfNull(definition);
518
_ =
Throw
.IfNull(propertyModel);
604
_ =
Throw
.IfNull(keyProperty);
ProviderServices\Filter\FilterTranslatorBase.cs (2)
165
_ =
Throw
.IfNull(lambdaExpression);
166
_ =
Throw
.IfNull(options);
ProviderServices\VectorPropertyModel.cs (1)
39
Throw
.ArgumentOutOfRangeException(nameof(value), "Dimensions must be greater than zero.");
RecordAttributes\VectorStoreVectorAttribute.cs (1)
26
Throw
.ArgumentOutOfRangeException(nameof(dimensions), "Dimensions must be greater than zero.");
RecordDefinition\VectorStoreProperty.cs (1)
27
_ =
Throw
.IfNullOrEmpty(name, nameof(name));
RecordDefinition\VectorStoreVectorProperty.cs (1)
68
Throw
.ArgumentOutOfRangeException(nameof(value), "Dimensions must be greater than zero.");
VectorSearchOptions.cs (1)
42
Throw
.ArgumentOutOfRangeException(nameof(value), "Skip must be greater than or equal to 0.");
VectorStoreCollection.cs (2)
87
_ =
Throw
.IfNull(keys);
139
_ =
Throw
.IfNull(keys);