Skip to content

AgentPrismSchedulingOptionsValidator

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Validates AgentPrismSchedulingOptions when the application starts.

public sealed class AgentPrismSchedulingOptionsValidator : IValidateOptions<AgentPrismSchedulingOptions>

objectAgentPrismSchedulingOptionsValidator

IValidateOptions<AgentPrismSchedulingOptions>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

This validation is handwritten. ValidateDataAnnotations uses reflection and produces IL2026.

public AgentPrismSchedulingOptionsValidator()

Validate(string?, AgentPrismSchedulingOptions)

Section titled “ Validate(string?, AgentPrismSchedulingOptions)”
public ValidateOptionsResult Validate(string? name, AgentPrismSchedulingOptions options)

name string?

options AgentPrismSchedulingOptions

ValidateOptionsResult