C# Class NCoverExplorer.NAntTasks.NCoverExplorerTask

Inheritance: NAnt.Core.Tasks.ExternalProgramBase
Mostrar archivo Open project: marektihkan/Arc

Private Properties

Property Type Description
_BuildTempConfigXmlFile void
_GetConfigFilename string
_OnProcessExited void

Public Methods

Method Description
NCoverExplorerTask ( ) : System

Initializes a new instance of the NCoverExplorerTask class.

Protected Methods

Method Description
PrepareProcess ( Process process ) : void

Performs logic before the external process is started.

StartProcess ( ) : Process

Starts the process and handles errors.

Private Methods

Method Description
_BuildTempConfigXmlFile ( ) : void

Build the Xml config file to pass to the NCoverExplorer.Console executable.

_GetConfigFilename ( ) : string

Return a temporary filename for the config file for executing NCoverExplorer.Console.

_OnProcessExited ( object sender, System e ) : void

Removes generated config file after process has run.

Method Details

NCoverExplorerTask() public method

Initializes a new instance of the NCoverExplorerTask class.
public NCoverExplorerTask ( ) : System
return System

PrepareProcess() protected method

Performs logic before the external process is started.
Thrown if no matching coverage files.
protected PrepareProcess ( Process process ) : void
process System.Diagnostics.Process Process.
return void

StartProcess() protected method

Starts the process and handles errors.
protected StartProcess ( ) : Process
return System.Diagnostics.Process