RequireExactCount(Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Requires that exactly the specified count of a type exists.

public TreeValidator RequireExactCount<T>(int count)
    where T : class

Type parameters

T
The control type.

Parameters

count
Int32

The exact count required.

Returns

TreeValidator
This validator for chaining.