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

Inheritance: ValidationRule
Datei anzeigen Open project: amido/Amido.Testing

Public Methods

Method Description
AssertStatusCodeValidationRule ( int expectedStatusCode ) : Microsoft.VisualStudio.TestTools.WebTesting

Contructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertStatusCodeValidationRule() public method

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

Validate() public method

The validate method.
public Validate ( object sender, ValidationEventArgs e ) : void
sender object The sender.
e ValidationEventArgs The
return void