<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.0-rc.1.25451.107" />

System.Configuration.ConfigurationValidatorBase

public abstract class ConfigurationValidatorBase
Acts as a base class for deriving a validation class so that a value of an object can be verified.

Initializes an instance of the ConfigurationValidatorBase class.

public virtual bool CanValidate(Type type)

Determines whether an object can be validated based on type.

public abstract void Validate(object value)

Determines whether the value of an object is valid.