C# Class Yea.Reflection.Emit.Commands.Try

Starts a try block
Inheritance: CommandBase
显示文件 Open project: OxPatient/Rule-Engine Class Usage Examples

Public Methods

Method Description
EndTryBlock ( ) : void

Ends the try/catch block

Setup ( ) : void

Sets up the try statement

StartCatchBlock ( Type exceptionType ) : Catch

Ends the try and starts a catch block

ToString ( ) : string

The try statement as a string

Method Details

EndTryBlock() public method

Ends the try/catch block
public EndTryBlock ( ) : void
return void

Setup() public method

Sets up the try statement
public Setup ( ) : void
return void

StartCatchBlock() public method

Ends the try and starts a catch block
public StartCatchBlock ( Type exceptionType ) : Catch
exceptionType System.Type Exception type
return Catch

ToString() public method

The try statement as a string
public ToString ( ) : string
return string