GoogleProviderOptionsValidator
Namespace AgentPrism · Assembly
AgentPrism.Google.dllValidates GoogleProviderOptions settings at application startup.
public sealed class GoogleProviderOptionsValidator : IValidateOptions<GoogleProviderOptions>Inheritance
Section titled “Inheritance”object ← GoogleProviderOptionsValidator
Implements
Section titled “Implements”IValidateOptions<GoogleProviderOptions>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Validation is written by hand; ValidateDataAnnotations relies on
reflection and produces IL2026. AgentPrism.Google must stay AOT
compatible.
Error messages never include the API key.
Constructors
Section titled “Constructors”GoogleProviderOptionsValidator()
Section titled “ GoogleProviderOptionsValidator()”public GoogleProviderOptionsValidator()Methods
Section titled “Methods”Validate(string?, GoogleProviderOptions)
Section titled “ Validate(string?, GoogleProviderOptions)”public ValidateOptionsResult Validate(string? name, GoogleProviderOptions options)Parameters
Section titled “Parameters”name string?
options GoogleProviderOptions