C# Class StarterTemplate.Core.Validation.EmailIsRegisteredAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute, IClientValidatable
ファイルを表示 Open project: mccalltd/MvcStarterTemplate

Public Methods

Method Description
EmailIsRegisteredAttribute ( ) : System
GetClientValidationRules ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context ) : IEnumerable
IsValid ( object value ) : bool

Method Details

EmailIsRegisteredAttribute() public method

public EmailIsRegisteredAttribute ( ) : System
return System

GetClientValidationRules() public method

public GetClientValidationRules ( ModelMetadata metadata, System.Web.Mvc.ControllerContext context ) : IEnumerable
metadata ModelMetadata
context System.Web.Mvc.ControllerContext
return IEnumerable

IsValid() public method

public IsValid ( object value ) : bool
value object
return bool