C# Class SmartBindersExample.Models.PropertiesMustMatchAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Mostrar archivo Open project: jeffreypalermo/mvc2inaction

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