18 references to IfNull
Microsoft.Extensions.AI.Evaluation.Safety (18)
CodeVulnerabilityEvaluator.cs (2)
53_ = Throw.IfNull(chatConfiguration); 54_ = Throw.IfNull(modelResponse);
ContentHarmEvaluator.cs (2)
55_ = Throw.IfNull(chatConfiguration); 56_ = Throw.IfNull(modelResponse);
ContentSafetyEvaluator.cs (3)
43_ = Throw.IfNull(chatConfiguration); 90_ = Throw.IfNull(contentSafetyServiceChatClient); 91_ = Throw.IfNull(modelResponse);
ContentSafetyServiceConfiguration.cs (3)
129Credential = Throw.IfNull(credential); 171Credential = Throw.IfNull(credential); 172Endpoint = Throw.IfNull(endpoint);
ContentSafetyServiceConfigurationExtensions.cs (2)
38_ = Throw.IfNull(contentSafetyServiceConfiguration); 75_ = Throw.IfNull(contentSafetyServiceConfiguration);
GroundednessProEvaluator.cs (2)
54_ = Throw.IfNull(chatConfiguration); 55_ = Throw.IfNull(modelResponse);
ProtectedMaterialEvaluator.cs (2)
73_ = Throw.IfNull(chatConfiguration); 74_ = Throw.IfNull(modelResponse);
UngroundedAttributesEvaluator.cs (2)
58_ = Throw.IfNull(chatConfiguration); 59_ = Throw.IfNull(modelResponse);