-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
TreeValidator
-
Methods
-
RequireMaxCount(Int32)
RequireMaxCount(Int32) Method
Definition
Requires that no more than the specified count of a type exists.
public TreeValidator RequireMaxCount<T>(int maxCount)
where T : class
Type parameters
Parameters
- maxCount
- Int32
The maximum count allowed.
Returns