MaxLengthSpecification<T>.

MaxLengthSpecification(int, bool) Constructor

Summary

Creates Specification for candidate (collection) length verification.

Syntax

[PublicAPI]
public MaxLengthSpecification(int maxLength, bool linqToEntities = false)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
maxLength int Maximum candidate length.
linqToEntities bool Is linq to entities (without null check of collection in Expression).

Return Value

Type Description
void
GitHub