C# Класс XunitShould.Sdk.CollectionException

Exception thrown when Assert.Collection fails.
Наследование: XunitException
Показать файл Открыть проект

Открытые методы

Метод Описание
CollectionException ( int expectedCount, int actualCount, int indexFailurePoint = -1, Exception innerException = null ) : System

Creates a new instance of the CollectionException class.

Приватные методы

Метод Описание
FormatInnerException ( Exception innerException ) : string

Описание методов

CollectionException() публичный Метод

Creates a new instance of the CollectionException class.
public CollectionException ( int expectedCount, int actualCount, int indexFailurePoint = -1, Exception innerException = null ) : System
expectedCount int The expected number of items in the collection.
actualCount int The actual number of items in the collection.
indexFailurePoint int The index of the position where the first comparison failure occurred.
innerException System.Exception The exception that was thrown during the comparison failure.
Результат System