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