2 references to IfOutOfRange
Microsoft.Extensions.DataIngestion (2)
Processors\KeywordEnricher.cs (1)
45? Throw.IfOutOfRange(confidenceThreshold.Value, 0.0, 1.0, nameof(confidenceThreshold))
Processors\SentimentEnricher.cs (1)
34double threshold = confidenceThreshold.HasValue ? Throw.IfOutOfRange(confidenceThreshold.Value, 0.0, 1.0, nameof(confidenceThreshold)) : 0.7;