BeforeEngineExecutionAsync(IEngine, Guid) Method
Called for each analyzer instance before each execution.

Syntax

public virtual Task BeforeEngineExecutionAsync(IEngine engine, Guid executionId)

Remarks

This is useful because an analyzer that applies to more than one pipeline and phase will have AnalyzeAsync(IAnalyzerContext) called for each of them so this method is a way to do more general initialization for each execution.

Parameters

Name Type Description
engine IEngine The engine instance.
executionId Guid The ID of the execution that's about to run.

Return Value

Type Description
Task