C# Class APISampleUnitTestsCS.SymbolsAndSemantics.TestCode

Helper class to bundle together information about a piece of analyzed test code.
Show file Open project: 2j2e/presentations

Public Methods

Method Description
GetSpanBetweenMarkers ( ) : TextSpan
GetStatementsBetweenMarkers ( StatementSyntax &firstStatement, StatementSyntax &lastStatement ) : void
TestCode ( string textWithMarker ) : System

Method Details

GetSpanBetweenMarkers() public method

public GetSpanBetweenMarkers ( ) : TextSpan
return TextSpan

GetStatementsBetweenMarkers() public method

public GetStatementsBetweenMarkers ( StatementSyntax &firstStatement, StatementSyntax &lastStatement ) : void
firstStatement StatementSyntax
lastStatement StatementSyntax
return void

TestCode() public method

public TestCode ( string textWithMarker ) : System
textWithMarker string
return System