C# Class HermaFx.DataAnnotations.RequiredIfAttribute

Inheritance: ContingentValidationAttribute
Datei anzeigen Open project: evicertia/HermaFx

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value, object dependentValue, object container ) : bool
RequiredIfAttribute ( string dependentProperty, Operator @operator, object dependentValue ) : System
RequiredIfAttribute ( string dependentProperty, object dependentValue ) : System

Protected Methods

Method Description
GetClientValidationParameters ( ) : object>>.IEnumerable

Method Details

FormatErrorMessage() public method

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

GetClientValidationParameters() protected method

protected GetClientValidationParameters ( ) : object>>.IEnumerable
return object>>.IEnumerable

IsValid() public method

public IsValid ( object value, object dependentValue, object container ) : bool
value object
dependentValue object
container object
return bool

RequiredIfAttribute() public method

public RequiredIfAttribute ( string dependentProperty, Operator @operator, object dependentValue ) : System
dependentProperty string
@operator Operator
dependentValue object
return System

RequiredIfAttribute() public method

public RequiredIfAttribute ( string dependentProperty, object dependentValue ) : System
dependentProperty string
dependentValue object
return System