C# Class Machine.Specifications.ExceptionResult

Exibir arquivo Open project: machine/machine.specifications Class Usage Examples

Public Methods

Method Description
ExceptionResult ( Exception exception ) : System
ExceptionResult ( Exception exception, bool outermost ) : System
ToString ( ) : string

Private Methods

Method Description
FilterStackTrace ( string stackTrace ) : string

Filters the stack trace to remove all lines that occur within the testing framework.

IsFrameworkStackFrame ( string trimmedLine ) : bool

Method Details

ExceptionResult() public method

public ExceptionResult ( Exception exception ) : System
exception System.Exception
return System

ExceptionResult() public method

public ExceptionResult ( Exception exception, bool outermost ) : System
exception System.Exception
outermost bool
return System

ToString() public method

public ToString ( ) : string
return string