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

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

Public Methods

Method Description
AssertContentTypeEqualsValidationRule ( string expectedContentType ) : System.ComponentModel

Constructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Method Details

AssertContentTypeEqualsValidationRule() public method

Constructs the ValidationRule.
public AssertContentTypeEqualsValidationRule ( string expectedContentType ) : System.ComponentModel
expectedContentType string The expected content type.
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