20 references to Throw
Microsoft.Extensions.VectorData.Abstractions (20)
FilteredRecordRetrievalOptions.cs (3)
29Throw.ArgumentOutOfRangeException(nameof(value), "Skip must be greater than or equal to 0."); 71Throw.ArgumentNullException(nameof(propertySelector)); 86Throw.ArgumentNullException(nameof(propertySelector));
HybridSearchOptions.cs (1)
52Throw.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); 93Throw.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)
39Throw.ArgumentOutOfRangeException(nameof(value), "Dimensions must be greater than zero.");
RecordAttributes\VectorStoreVectorAttribute.cs (1)
26Throw.ArgumentOutOfRangeException(nameof(dimensions), "Dimensions must be greater than zero.");
RecordDefinition\VectorStoreProperty.cs (1)
27_ = Throw.IfNullOrEmpty(name, nameof(name));
RecordDefinition\VectorStoreVectorProperty.cs (1)
68Throw.ArgumentOutOfRangeException(nameof(value), "Dimensions must be greater than zero.");
VectorSearchOptions.cs (1)
42Throw.ArgumentOutOfRangeException(nameof(value), "Skip must be greater than or equal to 0.");
VectorStoreCollection.cs (2)
87_ = Throw.IfNull(keys); 139_ = Throw.IfNull(keys);