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

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

Public Methods

Method Description
AssertBodyDoesNotIncludeValueValidationRule ( string value ) : System.ComponentModel

Constructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertBodyDoesNotIncludeValueValidationRule() public method

Constructs the ValidationRule.
public AssertBodyDoesNotIncludeValueValidationRule ( string value ) : System.ComponentModel
value string The value that should not be in the the response body.
return System.ComponentModel

Validate() public method

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