Show / Hide Table of Contents

Class EmailAddressValidator

The id must a valid email address.

Inheritance
System.Object
BasicIdValidator
EmailAddressValidator
Implements
IIdValidator
Namespace: DNVGL.One.Compute.Core.IdValidation
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class EmailAddressValidator : BasicIdValidator, IIdValidator

Methods

View Source

Validate(String)

Determines whether the specified id is valid.

Declaration
public override ValidationResult Validate(string id)
Parameters
Type Name Description
System.String id

The identifier.

Returns
Type Description
ValidationResult

true if the id is valid; otherwise, false.

Overrides
BasicIdValidator.Validate(String)

Implements

IIdValidator

See Also

IIdValidator
  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.