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

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

Méthodes publiques

Méthode Description
AssertStatusCodeValidationRule ( int expectedStatusCode ) : Microsoft.VisualStudio.TestTools.WebTesting

Contructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertStatusCodeValidationRule() public méthode

Contructs the ValidationRule.
public AssertStatusCodeValidationRule ( int expectedStatusCode ) : Microsoft.VisualStudio.TestTools.WebTesting
expectedStatusCode int The expected status code.
Résultat Microsoft.VisualStudio.TestTools.WebTesting

Validate() public méthode

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