Method GetValue
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
GetValue<T>(IXunitSerializationInfo, string)
Gets a strongly-typed value from the serialization.
public static T? GetValue<T>(this IXunitSerializationInfo info, string key)
Parameters
infokeystringThe key of the value to retrieve
Returns
- T
The value, if present; default(T), otherwise
Type Parameters
TThe type of the value