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

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

Public Methods

Method Description
AssertContentLengthEqualsValidationRule ( long expectedContentLength ) : System.ComponentModel

Constructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertContentLengthEqualsValidationRule() public method

Constructs the ValidationRule.
public AssertContentLengthEqualsValidationRule ( long expectedContentLength ) : System.ComponentModel
expectedContentLength long The expected content length.
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