Skip to content

M_CodeJam_EnumCode_StateFlagSet__1_1

Andrew Koryavchenko edited this page Jul 4, 2017 · 3 revisions

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

Asserts that the specified state flag is set.

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

Syntax

C#

public static void StateFlagSet<TEnum>(
	TEnum value,
	TEnum flag,
	string messageFormat,
	params Object[] args
)
where TEnum : struct, new(), IComparable, IFormattable, IConvertible

VB

Public Shared Sub StateFlagSet(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) ( 
	value As TEnum,
	flag As TEnum,
	messageFormat As String,
	ParamArray args As Object()
)

F#

static member StateFlagSet : 
        value : 'TEnum * 
        flag : 'TEnum * 
        messageFormat : string * 
        args : Object[] -> unit  when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible

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

EnumCode Class
StateFlagSet Overload
CodeJam Namespace

Clone this wiki locally