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