C# Класс Amido.Testing.WebApi.ValidationRules.AssertContentTypeEqualsValidationRule

Наследование: ValidationRule
Показать файл Открыть проект

Открытые методы

Метод Описание
AssertContentTypeEqualsValidationRule ( string expectedContentType ) : System.ComponentModel

Constructs the ValidationRule.

Validate ( object sender, ValidationEventArgs e ) : void

The validate method.

Описание методов

AssertContentTypeEqualsValidationRule() публичный Метод

Constructs the ValidationRule.
public AssertContentTypeEqualsValidationRule ( string expectedContentType ) : System.ComponentModel
expectedContentType string The expected content type.
Результат System.ComponentModel

Validate() публичный Метод

The validate method.
public Validate ( object sender, ValidationEventArgs e ) : void
sender object The sender.
e ValidationEventArgs The
Результат void