C# Class NUnit.Framework.ExpectedExceptionAttribute

Inheritance: Xunit.Sdk.LegacyExpectedExceptionAttribute
Afficher le fichier Open project: antonsamarsky/emitmapper-tools

Méthodes publiques

Méthode Description
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

Method Details

ExpectedExceptionAttribute() public méthode

Constructor for a non-specific exception
public ExpectedExceptionAttribute ( ) : System
Résultat System

ExpectedExceptionAttribute() public méthode

Constructor for a given type of exception
public ExpectedExceptionAttribute ( Type exceptionType ) : System
exceptionType System.Type The type of the expected exception
Résultat System

ExpectedExceptionAttribute() public méthode

Constructor for a given exception name
public ExpectedExceptionAttribute ( string exceptionName ) : System
exceptionName string The full name of the expected exception
Résultat System