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

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

Méthodes publiques

Méthode Description
AssertHeadersIncludesValueValidationRule ( string expectedIncludedValue ) : System.ComponentModel

Constructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertHeadersIncludesValueValidationRule() public méthode

Constructs the ValidationRule.
public AssertHeadersIncludesValueValidationRule ( string expectedIncludedValue ) : System.ComponentModel
expectedIncludedValue string The expected value to appear within the response header.
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