FrostingLifetime<TContext>.

Setup(TContext, ISetupContext) Method

Summary

This method is executed before any tasks are run. If setup fails, no tasks will be executed but teardown will be performed.
Namespace
Cake.Frosting
Containing Type
FrostingLifetime<TContext>

Syntax

public abstract void Setup(TContext context, ISetupContext info)

Parameters

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

Return Value

Type Description
void