RequireNameOfType(String) Method

Definition

Assembly HeadlessTestingFramework.dll

Requires that a named control is of the specified type.

public TreeValidator RequireNameOfType<T>(string name)
    where T : class

Type parameters

T
The expected type.

Parameters

name
String

The control name.

Returns

TreeValidator
This validator for chaining.