Method AsTracker
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
AsTracker(IEnumerable?)
Wraps the given enumerable in an instance of CollectionTracker<T>.
public static CollectionTracker? AsTracker(this IEnumerable? enumerable)
Parameters
enumerableIEnumerableThe enumerable to be wrapped
Returns
AsTracker<T>(IEnumerable<T>?)
Wraps the given enumerable in an instance of CollectionTracker<T>.
public static CollectionTracker<T>? AsTracker<T>(this IEnumerable<T>? enumerable)
Parameters
enumerableIEnumerable<T>The enumerable to be wrapped
Returns
Type Parameters
TThe item type of the collection