Table of Contents

Method AddRange

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

AddRange(IEnumerable<object?>)

Add a collection of objects to be disposed. They may optionally support IDisposable and/or IAsyncDisposable.

public void AddRange(IEnumerable<object?> collection)

Parameters

collection IEnumerable<object>

The objects to be disposed.