AfterExecution(IExecutionContext, ExecutionOutputs) Method
Called after each module execution.
Namespace
Statiq.Common
Containing Type
Module

Syntax

protected virtual void AfterExecution(IExecutionContext context, ExecutionOutputs outputs)

Remarks

Override this method to examine or adjust the module outputs. If an exception is thrown during module execution, this method is never called. Use Finally(IExecutionContext) to clean up module state after execution.

Parameters

Name Type Description
context IExecutionContext The execution context.
outputs ExecutionOutputs The module outputs which can be modified by changing the Outputs property.