KarmaRunnerFactory.

CreateRunner<TSettings>(KarmaRunMode) Method

Summary

Creates a new runner based on run mode.
Assembly
Cake.Karma.dll
Namespace
Cake.Karma
Containing Type
KarmaRunnerFactory

Syntax

public KarmaRunner<TSettings> CreateRunner<TSettings>(KarmaRunMode runMode) 
    where TSettings : KarmaSettings, new()

Type Parameters

Name Description
TSettings The type of settings to use for the runner.

Parameters

Name Type Description
runMode KarmaRunMode The run mode of the command.

Return Value

Type Description
KarmaRunner<TSettings> A fully constructed KarmaRunner<TSettings>.