C# Class EA.Iws.Web.Infrastructure.Validation.CompetentAuthorityEmailAddressAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Datei anzeigen Open project: EnvironmentAgency/prsd-iws

Public Methods

Method Description
CompetentAuthorityEmailAddressAttribute ( string competentAuthorityProperty ) : System

Protected Methods

Method Description
IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult

Method Details

CompetentAuthorityEmailAddressAttribute() public method

public CompetentAuthorityEmailAddressAttribute ( string competentAuthorityProperty ) : System
competentAuthorityProperty string
return System

IsValid() protected method

protected IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult
value object
validationContext System.ComponentModel.DataAnnotations.ValidationContext
return System.ComponentModel.DataAnnotations.ValidationResult