C# Класс NUnit.Framework.ExpectedExceptionAttribute

Наследование: Xunit.Sdk.LegacyExpectedExceptionAttribute
Показать файл Открыть проект

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

Метод Описание
ExpectedExceptionAttribute ( ) : System

Constructor for a non-specific exception

ExpectedExceptionAttribute ( Type exceptionType ) : System

Constructor for a given type of exception

ExpectedExceptionAttribute ( string exceptionName ) : System

Constructor for a given exception name

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

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

Constructor for a non-specific exception
public ExpectedExceptionAttribute ( ) : System
Результат System

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

Constructor for a given type of exception
public ExpectedExceptionAttribute ( Type exceptionType ) : System
exceptionType System.Type The type of the expected exception
Результат System

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

Constructor for a given exception name
public ExpectedExceptionAttribute ( string exceptionName ) : System
exceptionName string The full name of the expected exception
Результат System