-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumCode_FlagsDefined__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Asserts that all bits of the flags combination are defined.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static void FlagsDefined<TEnum>(
TEnum argFlags,
string argName
)
where TEnum : struct, new()
VB
Public Shared Sub FlagsDefined(Of TEnum As {Structure, New}) (
argFlags As TEnum,
argName As String
)
F#
static member FlagsDefined :
argFlags : 'TEnum *
argName : string -> unit when 'TEnum : struct, new()
- argFlags
- Type: TEnum
The bitwise combinations of the flags to check. - argName
- Type: System.String
Name of the argument.
- TEnum
- The type of the enum value.