C# Class Guidelines.Core.Validation.DataAnnotationsEngine

Inheritance: IValidationEngine
Afficher le fichier Open project: basicdays/Guidelines Class Usage Examples

Méthodes publiques

Méthode Description
DataAnnotationsEngine ( IServiceContainer container, IMapper mapper ) : System.Collections.Generic
IsValid ( object instance ) : bool
IsValid ( object instance, IEnumerable &results ) : bool
Validate ( IEnumerable instances ) : void
Validate ( object instance ) : void

Method Details

DataAnnotationsEngine() public méthode

public DataAnnotationsEngine ( IServiceContainer container, IMapper mapper ) : System.Collections.Generic
container IServiceContainer
mapper IMapper
Résultat System.Collections.Generic

IsValid() public méthode

public IsValid ( object instance ) : bool
instance object
Résultat bool

IsValid() public méthode

public IsValid ( object instance, IEnumerable &results ) : bool
instance object
results IEnumerable
Résultat bool

Validate() public méthode

public Validate ( IEnumerable instances ) : void
instances IEnumerable
Résultat void

Validate() public méthode

public Validate ( object instance ) : void
instance object
Résultat void