- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
M_CodeJam_DebugEnumCode_AnyStateFlagSet__1_1
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        3 revisions
      
    Asserts that any bit from specified state flag is set.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
[ConditionalAttribute("DEBUG")]
public static void AnyStateFlagSet<TEnum>(
	TEnum value,
	TEnum flags,
	string messageFormat,
	params Object[] args
)
where TEnum : struct, new()VB
<ConditionalAttribute("DEBUG")>
Public Shared Sub AnyStateFlagSet(Of TEnum As {Structure, New}) ( 
	value As TEnum,
	flags As TEnum,
	messageFormat As String,
	ParamArray args As Object()
)F#
[<ConditionalAttribute("DEBUG")>]
static member AnyStateFlagSet : 
        value : 'TEnum * 
        flags : 'TEnum * 
        messageFormat : string * 
        args : Object[] -> unit  when 'TEnum : struct, new()
- value
- Type: TEnum
 The value.
- flags
- Type: TEnum
 The bitwise combinations of the flags.
- messageFormat
- Type: System.String
 The message format.
- args
- Type: System.Object[]
 The arguments.
- TEnum
- The type of the enum value.
DebugEnumCode Class
AnyStateFlagSet Overload
CodeJam Namespace