C# Class ABsoluteMaybe.SampleWebsite.MVC2.Models.PropertiesMustMatchAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Show file Open project: troygoode/ABsoluteMaybe

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
PropertiesMustMatchAttribute ( string originalProperty, string confirmProperty ) : System

Method Details

FormatErrorMessage() public method

public FormatErrorMessage ( string name ) : string
name string
return string

IsValid() public method

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

PropertiesMustMatchAttribute() public method

public PropertiesMustMatchAttribute ( string originalProperty, string confirmProperty ) : System
originalProperty string
confirmProperty string
return System