Amido.Testing.WebApi.ValidationRules.AssertHeadersIncludesValueValidationRule.AssertHeadersIncludesValueValidationRule C# (CSharp) Метод

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

Constructs the ValidationRule.
public AssertHeadersIncludesValueValidationRule ( string expectedIncludedValue ) : System.ComponentModel
expectedIncludedValue string The expected value to appear within the response header.
Результат System.ComponentModel
        public AssertHeadersIncludesValueValidationRule(string expectedIncludedValue)
        {
            Contract.Requires(!string.IsNullOrWhiteSpace(expectedIncludedValue), "The expected included value cannot be null or empty.");
            this.expectedIncludedValue = expectedIncludedValue;
        }
AssertHeadersIncludesValueValidationRule