Skip to content

M_CodeJam_PerfTests_Running_Core_CompetitionCore_IsWarningOrHigher

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionCore.IsWarningOrHigher Method

The message severity is warning or higher.

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 bool IsWarningOrHigher(
	this MessageSeverity severity
)

VB

<ExtensionAttribute>
Public Shared Function IsWarningOrHigher ( 
	severity As MessageSeverity
) As Boolean

F#

[<ExtensionAttribute>]
static member IsWarningOrHigher : 
        severity : MessageSeverity -> bool 

Parameters

 

severity
Type: CodeJam.PerfTests.Running.Messages.MessageSeverity
The severity to check.

Return Value

Type: Boolean
true if the severity is warning or higher.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MessageSeverity. 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