C# Class EventServer.Core.ViewModels.CustomValidatorAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Mostrar archivo Open project: roundtable/EventServer

Public Methods

Method Description
CustomValidatorAttribute ( string method, string errorMessage ) : System
IsValid ( object value ) : bool

Method Details

CustomValidatorAttribute() public method

public CustomValidatorAttribute ( string method, string errorMessage ) : System
method string
errorMessage string
return System

IsValid() public method

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