C# Class Felbook.Models.PropertiesMustMatchAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Datei anzeigen Open project: janmarek/Felbook

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