Class SystemEmailValidation
- Namespace
- CMS.EmailEngine
- Assembly
- CMS.EmailEngine.dll
Represents the options used to validate system emails configuration at application startup.
public sealed class SystemEmailValidation
- Inheritance
-
objectSystemEmailValidation
- Extension Methods
Constructors
SystemEmailValidation()
Initializes a new instance of SystemEmailValidation.
public SystemEmailValidation()
Methods
Validate(string, SystemEmailOptions)
Validates a specific named options instance (or all when name is null).
public ValidateOptionsResult Validate(string name, SystemEmailOptions options)
Parameters
name
stringThe name of the options instance being validated.
options
SystemEmailOptionsThe options instance.
Returns
- ValidateOptionsResult
The Microsoft.Extensions.Options.ValidateOptionsResult result.