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

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

Constructs the ValidationRule.
public AssertBodyDoesNotIncludeValueValidationRule ( string value ) : System.ComponentModel
value string The value that should not be in the the response body.
Результат System.ComponentModel
        public AssertBodyDoesNotIncludeValueValidationRule(string value)
        {
            Contract.Requires(!string.IsNullOrWhiteSpace(value), "The value cannot be null or empty.");

            this.value = value;
        }
AssertBodyDoesNotIncludeValueValidationRule