C# Class Amido.Testing.WebApi.ValidationRules.AssertBodyEqualsValidationRule

Inheritance: ValidationRule
Afficher le fichier Open project: amido/Amido.Testing

Méthodes publiques

Méthode Description
AssertBodyEqualsValidationRule ( string expectedBody ) : System.ComponentModel

Constructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertBodyEqualsValidationRule() public méthode

Constructs the ValidationRule.
public AssertBodyEqualsValidationRule ( string expectedBody ) : System.ComponentModel
expectedBody string The expected response body.
Résultat System.ComponentModel

Validate() public méthode

The validate method.
public Validate ( object sender, ValidationEventArgs e ) : void
sender object The sender.
e ValidationEventArgs The
Résultat void