Skip to content

M_CodeJam_PerfTests_Running_Core_CompetitionCore_AddAnalyserWarning

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionCore.AddAnalyserWarning Method

Reports analyser warning.

Namespace: CodeJam.PerfTests.Running.Core
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public static void AddAnalyserWarning(
	this CompetitionState competitionState,
	List<IWarning> warnings,
	MessageSeverity severity,
	string message,
	BenchmarkReport report = null
)

VB

<ExtensionAttribute>
Public Shared Sub AddAnalyserWarning ( 
	competitionState As CompetitionState,
	warnings As List(Of IWarning),
	severity As MessageSeverity,
	message As String,
	Optional report As BenchmarkReport = Nothing
)

F#

[<ExtensionAttribute>]
static member AddAnalyserWarning : 
        competitionState : CompetitionState * 
        warnings : List<IWarning> * 
        severity : MessageSeverity * 
        message : string * 
        ?report : BenchmarkReport 
(* Defaults:
        let _report = defaultArg report null
*)
-> unit 

Parameters

 

competitionState
Type: CodeJam.PerfTests.Running.Core.CompetitionState
State of the run.
warnings
Type: System.Collections.Generic.List(IWarning)
The list the warnings will be added to.
severity
Type: CodeJam.PerfTests.Running.Messages.MessageSeverity
Severity of the message.
message
Type: System.String
The message.
report (Optional)
Type: BenchmarkReport
The report the message belongs to.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CompetitionState. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

CompetitionCore Class
CodeJam.PerfTests.Running.Core Namespace

Clone this wiki locally