FrostingTaskLifetime<TContext>.

Setup(TContext, ITaskSetupContext) Method

Summary

This method is executed before each task is run. If the task setup fails, the task will not be executed but the task's teardown will be performed.
Namespace
Cake.Frosting
Containing Type
FrostingTaskLifetime<TContext>

Syntax

public abstract void Setup(TContext context, ITaskSetupContext info)

Parameters

Name Type Description
context TContext The context.
info ITaskSetupContext The setup information.

Return Value

Type Description
void