Table of Contents

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

info
key string

The key of the value to retrieve

Returns

T

The value, if present; default(T), otherwise

Type Parameters

T

The type of the value