Amido.Testing.WebApi.ValidationRules.AssertContentLengthEqualsValidationRule.AssertContentLengthEqualsValidationRule C# (CSharp) 메소드

AssertContentLengthEqualsValidationRule() 공개 메소드

Constructs the ValidationRule.
public AssertContentLengthEqualsValidationRule ( long expectedContentLength ) : System.ComponentModel
expectedContentLength long The expected content length.
리턴 System.ComponentModel
        public AssertContentLengthEqualsValidationRule(long expectedContentLength)
        {
            Contract.Requires(expectedContentLength >= 0, "The expected content length must be a positive integer.");
            this.expectedContentLength = expectedContentLength;
        }
AssertContentLengthEqualsValidationRule