AgentPrismPostgreSqlOptionsValidator
Namespace AgentPrism · Assembly
AgentPrism.PostgreSql.dllValidates AgentPrismPostgreSqlOptions settings at application startup.
public sealed class AgentPrismPostgreSqlOptionsValidator : IValidateOptions<AgentPrismPostgreSqlOptions>Inheritance
Section titled “Inheritance”object ← AgentPrismPostgreSqlOptionsValidator
Implements
Section titled “Implements”IValidateOptions<AgentPrismPostgreSqlOptions>
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 hand-written; ValidateDataAnnotations relies on
reflection and produces IL2026. AgentPrism.PostgreSql must stay
AOT-compatible.
Constructors
Section titled “Constructors”AgentPrismPostgreSqlOptionsValidator()
Section titled “ AgentPrismPostgreSqlOptionsValidator()”public AgentPrismPostgreSqlOptionsValidator()Methods
Section titled “Methods”Validate(string?, AgentPrismPostgreSqlOptions)
Section titled “ Validate(string?, AgentPrismPostgreSqlOptions)”public ValidateOptionsResult Validate(string? name, AgentPrismPostgreSqlOptions options)Parameters
Section titled “Parameters”name string?
options AgentPrismPostgreSqlOptions