Table of Contents

Class AllException

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

Exception thrown when Assert.All fails.

public class AllException : XunitException, ISerializable, IAssertionException
Inheritance
AllException
Implements
Inherited Members

Methods

ForFailures(int, IReadOnlyList<Tuple<int, string, Exception>>)

Creates a new instance of the AllException class to be thrown when one or more items failed during All<T>(IEnumerable<T>, Action<T>) or All<T>(IEnumerable<T>, Action<T, int>), AllAsync<T>(IEnumerable<T>, Func<T, Task>), or AllAsync<T>(IEnumerable<T>, Func<T, int, Task>).