C# Class Bari.Core.Build.IBuilderContracts

Inheritance: IBuilder
Datei anzeigen Open project: vigoo/bari

Public Methods

Method Description
AddPrerequisite ( IBuilder target ) : void
CanRun ( ) : bool

Verifies if the builder is able to run. Can be used to fallback to cached results without getting en error.

RemovePrerequisite ( IBuilder target ) : void
Run ( IBuildContext context ) : ISet

Runs this builder

Method Details

AddPrerequisite() public method

public AddPrerequisite ( IBuilder target ) : void
target IBuilder
return void

CanRun() public abstract method

Verifies if the builder is able to run. Can be used to fallback to cached results without getting en error.
public abstract CanRun ( ) : bool
return bool

RemovePrerequisite() public method

public RemovePrerequisite ( IBuilder target ) : void
target IBuilder
return void

Run() public method

Runs this builder
public Run ( IBuildContext context ) : ISet
context IBuildContext
return ISet