语言

ActiveDelegate<T> 委托

定义

一个代表测试表单状态,以确认某个特定步骤是否处于激活状态。

public delegate bool ActiveDelegate<T>(T state);
type ActiveDelegate<'T> = delegate of 'T -> bool
Public Delegate Function ActiveDelegate(Of T)(state As T) As Boolean 

类型参数

T

表格状态类型。

参数

state
T

准备州份去测试。

返回值

如果在当前形式状态下 step 处于激活状态,则为真。

适用于