C# Class CodeCake.CodeCakeHost

Base class for build objects.
Mostrar archivo Open project: SimpleGitVersion/CodeCake Class Usage Examples

Public Methods

Method Description
Setup ( Action action ) : void

Registers the Setup operation.

Task ( string name ) : CakeTaskBuilder

Registers a named task.

Teardown ( Action action ) : void

Registers the Teardown action.

Protected Methods

Method Description
CodeCakeHost ( ) : System

Initializes a new host.

Private Methods

Method Description
Setup ( System.Action action ) : void
Teardown ( System.Action action ) : void

Method Details

CodeCakeHost() protected method

Initializes a new host.
protected CodeCakeHost ( ) : System
return System

Setup() public method

Registers the Setup operation.
public Setup ( Action action ) : void
action Action Action to execute.
return void

Task() public method

Registers a named task.
public Task ( string name ) : CakeTaskBuilder
name string Name of the task.
return CakeTaskBuilder

Teardown() public method

Registers the Teardown action.
public Teardown ( Action action ) : void
action Action Action to execute.
return void