Skip to content

M_CodeJam_DebugEnumCode_StateFlagSet__1_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

DebugEnumCode.StateFlagSet(TEnum) Method (TEnum, TEnum, String, Object[])

Asserts that the specified state flag is set.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void StateFlagSet<TEnum>(
	TEnum value,
	TEnum flag,
	string messageFormat,
	params Object[] args
)
where TEnum : struct, new()

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub StateFlagSet(Of TEnum As {Structure, New}) ( 
	value As TEnum,
	flag As TEnum,
	messageFormat As String,
	ParamArray args As Object()
)

F#

[<ConditionalAttribute("DEBUG")>]
static member StateFlagSet : 
        value : 'TEnum * 
        flag : 'TEnum * 
        messageFormat : string * 
        args : Object[] -> unit  when 'TEnum : struct, new()

Parameters

 

value
Type: TEnum
The value.
flag
Type: TEnum
The flag.
messageFormat
Type: System.String
The message format.
args
Type: System.Object[]
The arguments.

Type Parameters

 

TEnum
The type of the enum value.

See Also

Reference

DebugEnumCode Class
StateFlagSet Overload
CodeJam Namespace

Clone this wiki locally