-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_PerfTests_Running_Console_ConsoleCompetition_Run__1_1
andrewvk edited this page Nov 8, 2016
·
2 revisions
Runs the benchmark.
Namespace: CodeJam.PerfTests.Running.Console
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static CompetitionState Run<T>(
T thisReference,
ICompetitionConfig competitionConfig = null
)
where T : class
VB
Public Shared Function Run(Of T As Class) (
thisReference As T,
Optional competitionConfig As ICompetitionConfig = Nothing
) As CompetitionState
F#
static member Run :
thisReference : 'T *
?competitionConfig : ICompetitionConfig
(* Defaults:
let _competitionConfig = defaultArg competitionConfig null
*)
-> CompetitionState when 'T : not struct
- thisReference
- Type: T
Reference used to infer type of the benchmark. - competitionConfig (Optional)
- Type: CodeJam.PerfTests.Configs.ICompetitionConfig
The competition config. Ifnull
config from CompetitionConfigAttribute will be used.
- T
- Benchmark class to run.
Type: CompetitionState
The state of the competition.
ConsoleCompetition Class
Run Overload
CodeJam.PerfTests.Running.Console Namespace