Table of Contents

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
object
SystemEmailValidation
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 string

The name of the options instance being validated.

options SystemEmailOptions

The options instance.

Returns

ValidateOptionsResult

The Microsoft.Extensions.Options.ValidateOptionsResult result.