C# Class HermaFx.DataAnnotations.MinElementsIfAttribute

Inheritance: ContingentValidationAttribute
Datei anzeigen Open project: evicertia/HermaFx

Private Properties

Property Type Description

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value, object dependentValue, object container ) : bool
MinElementsIfAttribute ( uint elements, string dependentProperty, Operator @operator, object dependentValue ) : System
MinElementsIfAttribute ( uint elements, 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

MinElementsIfAttribute() public method

public MinElementsIfAttribute ( uint elements, string dependentProperty, Operator @operator, object dependentValue ) : System
elements uint
dependentProperty string
@operator Operator
dependentValue object
return System

MinElementsIfAttribute() public method

public MinElementsIfAttribute ( uint elements, string dependentProperty, object dependentValue ) : System
elements uint
dependentProperty string
dependentValue object
return System