GetData(String, T) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets data from the session with a default value.

public T GetData<T>(string key, T defaultValue)

Type parameters

T
The data type.

Parameters

key
String

The data key.

defaultValue
{T}

The default value.

Returns

{T}
The data value, or the default if not found.